Hi,
I want to remap the german umlauts to "{","[","]" and "}" in normal
mode only.
When I type the umlauts on the commandline of my zsh there is no
problem.
When I type them in insert mode in vim: no problems.
Therefore I /think/ (read: dont no for sure) that there should be no
problem.
In my $HOME/.vimrc I wrote:
nnoremap o [
nnoremap a ]
nnoremap O {
nnoremap A }
(I replaced the umlauts with their corresponding vowels here in this
mail only -- just to make them displayable in any case...)
But this does not work. With the :map command I can see the maps but
the umlauts looks like 8bit-something. Two of them are displayed as
two characters.
Then I tried:
nnoremap <o> <[>
nnoremap <a> <]>
nnoremap <O> <{>
nnoremap <A> <}>
which results in nothing: Now the "corrupted" maps via the :map
command has vanished completly.
Now I got an Error message displayed in front of my inner eye:
"WARNING! Idea stack underflow!"
What can I try else ?
Thank you very much for any help in advance !
Keep hacking!
mcc