Question

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!

Était-ce utile?

La solution

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.

Autres conseils

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
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top