Domanda

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!

È stato utile?

Soluzione

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.

Altri suggerimenti

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
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top