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˘– nobe4 Aug 13 '15 at 04:16Ctrl+VthenAlt+<. What is inserted? – Gilles 'SO- stop being evil' Aug 13 '15 at 22:16