Re: Can the "<" char be escaped with a backslash in Vim keymaps?

2014-12-18 Thread Elijah Griffin
BPJ wrote: > Erik wrote: >> Is your task amenable to using simple methods? E.g.: >> $ echo Ewokhbhs laoohmf rsqhmfr akrn vnqj | tr "[a-y]" "[b-z]" > Alas it is not. By transliteration I mean things like changing the > two-character sequence "ch" into the single Cyrillic letter "ч" > (U+0447), so t

Re: Can the "<" char be escaped with a backslash in Vim keymaps?

2014-12-18 Thread BPJ
Erik wrote: On 15.12.14 12:09, BPJ wrote: > > 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. Is your task amenable to using simple methods? E.g.: $ echo Ewokhbhs

Re: Can the "<" char be escaped with a backslash in Vim keymaps?

2014-12-15 Thread Mathias Rav
On Mon, Dec 15, 2014 at 12:09 PM, BPJ wrote: > 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 also says that the first column can be in <> form

Re: Can the "<" char be escaped with a backslash in Vim keymaps?

2014-12-15 Thread Erik Christiansen
On 15.12.14 12:09, BPJ wrote: > 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. Is your task amenable to using simple methods? E.g.: $ echo Ewokhbhs laoohmf rsqhmfr akrn vn

Can the "<" char be escaped with a backslash in Vim keymaps?

2014-12-15 Thread BPJ
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