Ctrl+] in gVim on Windows does not work for me. I know that the tags file is loaded since the Ctrl+left mouse button works as intended. I did not find anything of help in Browsing programs with tags.

Can I add something in .vimrc to repair it?



nmap <C-\> :exe 'tag ' . expand('<cword>')<CR>
nmap g<C-\> :exe 'tjump ' . expand('<cword>')<CR>

in your %HOME%\_vimrc (IIRC vim does not use %USERPROFILE% but needs %HOME%)

I chose <C-\>, because it's the neighbouring key, but choose whatever replacement key combination you want.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.