Skip to content

Conversation

@TheBlob42
Copy link

First of all thank you for this plugin ❤️
It makes the usage of (Neo)Vim a lot easier and predictable for me

One issue that always got me was that during snippet expansion (which usually uses select mode) the initial key press would not trigger any "autopair" style plugin (to automatically insert closing parentheses or matching quotation marks). I saw that this issue could easily be resolved by making the select bindings nested/recursive.

To not mess around wit the defaults I have implemented this as an opt-in feature.
If you think this is outside the scope for this plugin and you like to keep this minimal I would understand, but I thought maybe this is a use case which others could relate to 🙂

When using recursive key bindings in select mode, some chars (like 'n')
will trigger an appropriate change operation instead of entering the
char itself (for 'n' it would be "change up to the next search result").
A special <Plug> mapping was introduced to mitigate these issues.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant