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!

Was it helpful?

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.

OTHER TIPS

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
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top