I try to create a mapping for Alt <
and Alt >
:
inoremap <M-<> foo-bar-baz
inoremap <M->> baz-bar-foo
This doesn't work, most probably because <
and >
are themselves characters used to define the mapping. So, how can I create such a mapping?
<Alt-<>
and<Alt->>
insert another character the one you would expected, so I could explain your issue... e.g. on my computer it insert respectivly¯
and˘
Ctrl+V
thenAlt+<
. What is inserted?