vim , trouble with ctrl-] on scandinavian keyboards
Solution 1:
The following work both in gnome-terminal and in PuTTY, both with the Swedish keyboard layout:
- Ctrl+5: This one comes from xterm, whereby the reasoning appears to be that the octal ASCII code for
^]
is 035 (note the 5), so for example Ctrl+6 is^^
(036). - Ctrl+¨ (the key to the right of the Å): The even more tenuous reason here is that the US keyboard layout has the ] in that position.
In Cygwin's mintty, your initial idea of Ctrl+AltGr+9 does actually work. It also sends ^]
for the Pause key.