" Make sure that vim was compiled with the '--enable-cscope' option if has("cscope") set cscopetag " check cscope for definition of a symbol before checking ctags set csto=0 " add any cscope database in current directory "if filereadable("cscope.out") "cs add cscope.out "endif " show msg when any other cscope db added set cscopeverbose nmap \s :cs find s =expand("") nmap \g :cs find g =expand("") nmap \c :cs find c =expand("") nmap \t :cs find t =expand("") nmap e :cs find e =expand("") nmap \f :cs find f =expand("") nmap i :cs find i ^=expand("")$ nmap \d :cs find d =expand("") endif