-
Notifications
You must be signed in to change notification settings - Fork 48
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
Don't use noremap or vnoremap #1
Comments
You should describe why it is not desired (though I know the reason). |
It's not desirable to map keystrokes in select mode because select mode is meant to overwrite the selection with text. If there are mappings, then text is not inserted. |
BTW, I naively tried to change all occurrences of "vnoremap" to "xnoremap", but that didn't help. |
Okay, I'll fix it later. |
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
noremap and vnoremap also map keystrokes in select mode, which is not the desired behavior. Instead, you should use onoremap, xnoremap, and nnoremap.
The text was updated successfully, but these errors were encountered: