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
key map expr needs more backslashes? #889
Comments
That's weird. Those lines haven't changed for years and I don't have any trouble with Vim 9.1 on macOS. Not sure how to proceed...perhaps leave this here and wait to see if anyone else is affected? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
vim: Debian VIM - Vi IMproved 9.1
vim-gitgutter: 67ef116
Seems strange I'm encountering this if nobody else is, but in the map expr lines such as
nnoremap <silent> <expr> <Plug>(GitGutterNextHunk) [...]
I needed to change the escape sequences such as\<CR>
to\\\<CR>
. Without adding extra backslashes I just get literal<CR>
strings in the command buffer.Patch attached in case HTML escaping also eats backslashes.
map.txt
The text was updated successfully, but these errors were encountered: