This solution only works for linux in an X environment for non-us keyboard layouts.
I just struggled with this problem in linux with a swiss german keyboard layout. We type ] by pressing AltGr+¨, thus i would have to use AltGr+Ctrl+¨ to jump to the ctag definition, which is awkward.
What i did was to remap the ¨ (diaeresis) key to ] (bracketright)
print current mapping for keycode 35:
$> xmodmap -pke | grep 35
keycode 35 = dead_diaeresis exclam dead_diaeresis exclam bracketright dead_macron bracketright
remap key (we just replace the first dead_diaeresis with bracketright):
$> xmodmap -e 'keycode 35 = bracketright exclam dead_diaeresis exclam bracketright dead_macron bracketright'
Pressing keycode 35 (¨) will now print ] without the need of any modifier, and CTRL-] works to jump to the tag.
xmodmap -e can be executed as user without need for sudo, you can put it for example in your .profile.
see swiss-german layout for reference
]
key located just left of the Enter key? Do you have to press Shift to get a "]"? – Cameraman:tag quickref
(just a random tag) or double clicking on a tag in gvim? Do these at least work? – Cameramantags
file withctags
? – Fricative:tag {tag_name}
is working and double click too. I fooled around with this script bundle: link, and made everything according to itsREADME
includingcall pathogen#helptags()
. Does it changes keymapping? – HensleyCtrl
-^
– Differentia