Hi I'm new to vim and I'm stuck.
In :help tag
it says that one can go to a tag definition using the CTRL-] keystroke. But I can't get this to work. I thought I messed some mappings with my plugins, so I cleaned .vimrc
. But I still get cursor to a tag word (in help for example). I strike Ctrl and ] simultaneously and nothing happens.
Does anybody know how to fix it? Or maybe I'm reading :help wrong?
First, use the :verbose
command (thanks to sehe) to know who rebound your key where.
:verbose nmap <C-]>
Then, if you cannot find where your key was rebound, bind yourCtrl-] key by the original one then retry:
:nnoremap <C-]> <C-]>
For more info:
:help mapping
:help :verbose
:help :noremap
I have the same issue, and :verbose
did not bring up anything useful. What I figured out is that Ctrl-+ takes me there.
Please note that I am using a German keyboard where the plus sign sits at the position of square bracket on a US keyboard. Maybe the code only looks at the location of the key (I remember reading something to that respect in combination with the Ctrl-key).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With