3

I'm on a French keyboard and I'm unable to jump to a topic in vim: If I go ':help' the instructions say:

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

I've tried various combinations with no luck. For example ALT+SHIFT+) gives ']' but adding CTRL does not work.

The only hack I found was to map CTRL-L to CTRL-] by add this to .vimrc:

map <C-l> <C-]>

Are there perhaps special mappings for French keyboards in Vim or Mac + French keyboards?

2
  • Darn, typo in question. Can someone please fix it for me since I do not have the rights yet. Thanks! Commented Jul 23, 2011 at 23:56
  • Same thing with a finnish keyboard (perhaps any keyboard where producing ] requires alt?).
    – Ilkka
    Commented Aug 8, 2011 at 10:13

4 Answers 4

3

If you don't want to waste your CTRL-L, you can make CTRL-"] key" work like this:

:map CTRL-VCTRL-"] key" <C-]>
2

Well on a Mac French keyboard, I just press CTRL+$ (the */$/€ key is the one located to the left of the return key)

2

I Use CTRL+5 on my Spanish keyboard.

1
  • CTRL+5 Works on my Danish Mac keyboard as well.
    – Silwing
    Commented Jan 13, 2022 at 9:08
1

Well, seems the answer is:

The only hack I found was to map CTRL-L to CTRL-] by add this to .vimrc:

map <C-l> <C-]>

You must log in to answer this question.

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