0

When I installed the cscope and the ctags, they share the same ctrl+] command, how can I cancel the jump fuction of cscope, retain only one of them?

zhengk
  • 7
  • 6

1 Answers1

0

:set nocscopetag should force vim to only search tag files on ctrl-].

:set cscopetagorder=1 will make vim search tags files before cscope databases, but it will still fall back to cscope if it can't find the entry in the tags files.

Evan
  • 6,369
  • 1
  • 29
  • 30
  • Thank you ! I have one more question. When I open a C file, how to automatically load cscope.out database in the parent directory or multiple parent directory ? – zhengk Apr 19 '16 at 02:13