Skip to content

key map expr needs more backslashes? #889

@ajrh1

Description

@ajrh1

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions