-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default mapping [% / ]% conflicts with matchit.vim plugin #6
Comments
Strangely enough, it seems that matchit.vim is not installed for me (I am using MacVim). Hence I missed this mapping. You are right about avoiding conflict. I wonder if |
I had considered all of those, too. I don't like the asymmetry of the first, and |
Another possibility is By the way, thank YOU for posting the code on the Vim Tips Wiki that this plugin is based on! |
Came here to report the same conflict. My 2 cents: I like Apart from that, I would find it more useful if it (
Currently it is described as follows:
Maybe that could be made to stop before lines with more indent?! |
I like the added
[%
/]%
motions to move to the beginning / end of the current block, but unfortunately, they conflict with the matchit.vim plugin that ships with Vim (cp.:help [%
). As many users associate%
with matching braces, I'd suggest a different default mapping, maybe[;
/];
, as these are close together (on a US-English keyboard, anyhow), close to the other keys used by the plugin, and;
(the command separator in many programming languages) at least somewhat suggest current coding block.PS: While submitting my patches, I noticed that you've actually based your plugin (with proper attribution, thanks!) on the code I've once posted on the Vim Tips Wiki. In fact, I had used the code I've posted there for years, and only recently discovered and then switched to your plugin (as it looked more advanced). Keep up the good work!
The text was updated successfully, but these errors were encountered: