문제

The usual, default mapping for Ctrl-] seems to be "lookup tag under cursor". If I want the list of all possible tag hits, I have to press "g" then ctrl-].

How do I noremap <silent> <C-]> to be g + "lookup tag under cursor"? I expect the results in a window(?) at the bottom of the screen just like usual.

And, of course, I want this because I forget the "g" all-too-often.

도움이 되었습니까?

해결책

Sometimes, the most obvious solution is just what you need:

nmap <C-]> g<C-]>
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top