Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to set up ctags with Vim. Ctrl-] is supposed to jump to a tag under the cursor. (issuing a :ta the word works fine)

I'm not sure what to press when using a Swedish keyboard. To get a ], I'll have to press Alt Gr-9, however Ctrl-Alt Gr-9 does not work. Any help ?

Here's the keyboard layout:

enter image description here

share|improve this question
What platform and terminal? – ak2 Oct 3 '10 at 19:21
Fedora 13, gnome-terminal. Or win7 and putty to that same feodra 13 box (or a CentOS 5) – nos Oct 3 '10 at 23:21

1 Answer 1

up vote 2 down vote accepted

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.

share|improve this answer
Ctrl+¨ seems to do the trick – nos Oct 4 '10 at 17:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.