문제

I'm using Vim, the default binding for Cscope is the same one with Ctags (Ctrl-]), but I want to assign Ctrl-[ for Ctags and Ctrl-] for Cscope so that I can use one find definitions and the other for references. Thanks!

도움이 되었습니까?

해결책

No, <C-]> is not the default binding for cscope and ctags. It is used for both only if you explicitely tell Vim to do so with set cscopetag.

:h cscope-suggestions as a few good suggestions for you.

다른 팁

Esc and Ctrl+[ use the same escape sequences on the terminal therefore vim will not be able to distinguish between the two.

For more info see:

:h escape
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top