-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Description
The documentation states:
Line 77 in 642d3a4
| We borrowed the aliases `r` and `a` from the |surround| plugin by Tim Pope. |
But r is not working for me. It's also not listed in the defaults:
Lines 727 to 763 in 642d3a4
| This function can be used to modify an internal dictionary used to control the | |
| mappings. The default value of that dictionary is: | |
| {~ | |
| \ '(': {'pair': [{'o': '(', 'c': ')'}]},~ | |
| \ ')': {'pair': [{'o': '(', 'c': ')'}]},~ | |
| \ '{': {'pair': [{'o': '{', 'c': '}'}]},~ | |
| \ '}': {'pair': [{'o': '{', 'c': '}'}]},~ | |
| \ 'B': {'pair': [{'o': '{', 'c': '}'}]},~ | |
| \ '[': {'pair': [{'o': '[', 'c': ']'}]},~ | |
| \ ']': {'pair': [{'o': '[', 'c': ']'}]},~ | |
| \ '<': {'pair': [{'o': '<', 'c': '>'}]},~ | |
| \ '>': {'pair': [{'o': '<', 'c': '>'}]},~ | |
| \ '"': {'quote': [{'d': '"'}]},~ | |
| \ "'": {'quote': [{'d': "'"}]},~ | |
| \ '`': {'quote': [{'d': '`'}]},~ | |
| \ ',': {'separator': [{'d': ','}]},~ | |
| \ '.': {'separator': [{'d': '.'}]},~ | |
| \ ';': {'separator': [{'d': ';'}]},~ | |
| \ ':': {'separator': [{'d': ':'}]},~ | |
| \ '+': {'separator': [{'d': '+'}]},~ | |
| \ '-': {'separator': [{'d': '-'}]},~ | |
| \ '=': {'separator': [{'d': '='}]},~ | |
| \ '~': {'separator': [{'d': '~'}]},~ | |
| \ '_': {'separator': [{'d': '_'}]},~ | |
| \ '*': {'separator': [{'d': '*'}]},~ | |
| \ '#': {'separator': [{'d': '#'}]},~ | |
| \ '/': {'separator': [{'d': '/'}]},~ | |
| \ '\': {'separator': [{'d': '\'}]},~ | |
| \ '|': {'separator': [{'d': '|'}]},~ | |
| \ '&': {'separator': [{'d': '&'}]},~ | |
| \ '$': {'separator': [{'d': '$'}]},~ | |
| \ 't': {'tag': [{}]},~ | |
| \ 'a': {'argument': [{'o': '[([]', 'c': '[])]', 's': ','}]},~ | |
| \ 'b': {'pair': [{'o':'(', 'c':')'}, {'o':'[', 'c':']'}, {'o':'{', 'c':'}'}]},~ | |
| \ 'q': {'quote': [{'d':"'"}, {'d':'"'}, {'d':'`'}]},~ | |
| \ }~ |
I had to add it with:
autocmd User targets#mappings#user call targets#mappings#extend({
\ 'r': {'pair': [{'o':'[', 'c':']'}]}
\ })So I think either the docs should be updated or the mapping added.
There's also a little typo (incude) here:
Line 222 in 642d3a4
| |targets-quote-seek|. Unlike Vim's quote text objects, this incudes no |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels