Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I type CTRL + ] on a QWERTZ keyboard (in order to jump to a tag with Vim)?

Tags:

vim

In Vim, the usual way to jump to the definition of the keyword under the cursor is to type CTRL-] (as claimed by :he CTRL-\]).

But when you have a QWERTZ keyboard (see below, Strg is Ctrl), you're in some trouble: there is no separate ] key on the keyboard; you'll have to press ALT GR-9 to type the ]. So, to jump to a tag, it`s neccessary to hit CTRL-ALT GR-9 which doesn't work (and is also not feasible because you'll break your fingers if you happen to use that often).

QUERTZ keyboard

So, how could I jump to a tag using my QWERTZ keyboard?

In addition, I'd also be glad if someone could explain why pressing CTRL-ALT GR-9 does not work.


Edit:
I'm not interested in the obvious answers "remap to something else" or "press the mouse button".


Duplicate on Vi/Vim: https://vi.stackexchange.com/questions/5732/tag-navigation-using-ctrl-does-not-work-with-non-english-keyboard-on-windows

like image 544
eckes Avatar asked Aug 03 '11 20:08

eckes


People also ask

How do you type the symbol on a Qwertz keyboard?

This is how you do it: press and hold Ctrl and Alt (Strg and Alt on the QWERTZ German keyboard), and then press the Q key. This should type the @ symbol. Please let us know if you have any more questions.

What is German Qwertz keyboard?

The QWERTZ or QWERTZU keyboard is a typewriter and keyboard layout widely used in Central Europe. The name comes from the first six letters at the top left of the keyboard: ( Q W E R T Z ).


1 Answers

As weird as it reads, on AZERTY keyboards (french layout specifically) $ is at the same spot as ] on QWERTY keyboards so I must hit <C-$> to jump to definition.

See if <C-+> does the trick.

like image 175
romainl Avatar answered Sep 18 '22 13:09

romainl