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
<localleader>wdefn should be the repeat#set text instead of <localleaderw alone. This makes it easier to repeat that kind of change, and would align the behavior with a and i for example.
The text was updated successfully, but these errors were encountered:
Then doing g@iwfoo. When doing ., the text "foo" was inserted, but not the wrapping parens, so I guess there's limitations to how far opfunc can repeat something.
This limitation might be overcome with the right change to vim-sexp however.
I can't quite figure out how to do this, I stumbled upon vim/vim#202 which suggests that this is possible. The linked commit doesn't seem related though.
I've opened vim/vim#3126 in the hopes of getting some information. I don't think it's currently possible to implement c in user-code though. Maybe you will have some insight into that though @justinmk?
e.g.
<localleader>wdefn
should be therepeat#set
text instead of<localleaderw
alone. This makes it easier to repeat that kind of change, and would align the behavior witha
andi
for example.The text was updated successfully, but these errors were encountered: