I'm trying to find a way to map German umlaut keys (Ä,ä,Ö,ö,Ü,ü).
A simple shortcut like this won't work:
inoremap <c-ö> <Esc>
Nothing happens when I hit ctrl+ö.
Does anyone know a solution to this?
I'm trying to find a way to map German umlaut keys (Ä,ä,Ö,ö,Ü,ü).
A simple shortcut like this won't work:
inoremap <c-ö> <Esc>
Nothing happens when I hit ctrl+ö.
Does anyone know a solution to this?
Vim (though I cannot attest if this is true for every build and version) actually only handles valid ASCII control codes.
This is why when you press Ctrl + M, Vim actually gets a special "control code" (0D in this case), while there is no such code for Ctrl + ,, so it cannot be mapped.
There is an interesting discussion on that very subject here: https://groups.google.com/forum/#!topic/vim_dev/Ym6D-kWIsyo