Sven Brueggemann wrote:
Hello,
where do I find CTRL-^ on a German keyboard? I know that I can
map it, but I'd like to see if the standard keystroke fits my
needs before changing it.
Kind regards
Sven
You may have to hunt around, using the Ctrl-V prefix in Insert mode; and it
might not even be present. AFAICT my system either hasn't got it, or my
keyboard driver or window manager strips the Ctrl bit away on non-alphabetic
printable keys before gvim gets them. This is what I use on my Belgian keyboard:
:map! <F8> <C-^>
:map <F8> :let &imi = !&imi<CR>
It allows me to change it even in Normal mode (so the next r command, for
instance, will or won't use the keymap). If you sometimes use an IME too you
may want to refine the second mapping to
:map <F8> :if &kmp == "" <Bar> let &imi = 2 * (!&imi) <Bar>
\ else <Bar> let &imi = !&imi <Bar> endif<CR>
Best regards,
Tony.