Search code examples
cscope

How to cancel the jump function of cscope?


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?


Solution

  • :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.