18

I'm having some trouble reading vim's documentation on the terminal because I can't follow the links that are given.

I quote:

Jump to a subject: Position the cursor on a tag (e.g. |bars|) and hit CTRL-].

The problem is that i'm using a spanish keyboard where the "+" and the "]" are on the same button so when I hit CTRL-], I make a zoom.

Can I map the CTRL-] to any other keys somehow or is there any other option?

Wylex
  • 563
  • 4
  • 13

3 Answers3

9

One option (if you don't mind a bit of typing) is to type :tag tagname and press enter. This is exactly equivalent to Ctrl-] according to :help CTRL-].

If you use this, please note that you can use tab completion just as when typing :help topic commands, and you can use Ctrl-D to list the possible autocompletions of what you've typed so far.

I admit this isn't much of an alternative, but it's worth knowing.

Wildcard
  • 4,409
  • 26
  • 49
8

Another option is using clicking on the tag, if set mouse=a is on.

fruglemonkey
  • 1,530
  • 13
  • 12
3

For those having french AZERTY keyboard, try

CTRL + $ ($,£,¤ key)

  • 2

    For those having french AZERTY keyboard, try > CTRL + $ ($,£,¤ key) How come??

    – Abd Jun 16 '19 at 21:16
  • 1
    @Abd I think he refers to the position where ] is located on a QWERTY keyboard. – herve Apr 14 '23 at 09:34
  • Yes this is the real reason ! At the time I remember trying random combinations on my keyboard to find this... – NullPointerWizard Apr 14 '23 at 15:22
  • For me on an AZERTY Apple keyboard, the $ and £/backtick keys are different. CTRL+$ did nothing, but CTRL+£ was the winner. Thanks for this, I never understood why the default shortcut was not working and how to get around this. – Pierre-Adrien Jul 09 '23 at 10:13