Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
1  
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
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
1  
Ctrl+¨ seems to do the trick – nos Oct 4 '10 at 17:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .