Can the "<" (less-than/left angle bracket) char be escaped with backslash in Vim keymaps? Or to put it otherwise: which characters can be escaped with a backslash in a keymap?
:help mbyte-keymap says: # The lines after "loadkeymap" are interpreted with 'cpoptions' set to "C". # This means that continuation lines are not used and a backslash has a special # meaning in the mappings. Examples: > # # " a comment line # \" x maps " to x # \\ y maps \ to y but I seem to remember having used `\<` and it worked. I guess that's what is implied by "Examples"? The reason I'm asking is that I'm writing something which parses keymaps and turns them into another something which a third something can use to transliterate strings. Currently I'm using `\\(["\\])` to match backslash escapes, but I suspect it isn't enough. /bpj -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
