You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not extremely familiar with vimscript, so I'm trying to avoid defining functions in order to match my textobj. Let's assume the textobj is a word for now.
By default, from what I understood, when I do this:
'pattern': '\w\+',
'select': 'iw', 'aw'
aw and iw will behave exactly the same.
I don't know if I'm missing something, but I think it would be super useful if by default a and i would behave like vim defaults: i for the pattern match, while a for the pattern match surrounded by whitespace.
Thanks!
The text was updated successfully, but these errors were encountered:
I'm not extremely familiar with vimscript, so I'm trying to avoid defining functions in order to match my textobj. Let's assume the textobj is a word for now.
By default, from what I understood, when I do this:
aw
andiw
will behave exactly the same.I don't know if I'm missing something, but I think it would be super useful if by default
a
andi
would behave like vim defaults:i
for thepattern
match, whilea
for the pattern match surrounded by whitespace.Thanks!
The text was updated successfully, but these errors were encountered: