if has('nvim') finish endif if executable('gtags-cscope') let &csprg='gtags-cscope' endif set cscopequickfix=g-,s-,c-,d-,i-,t-,e- set cscopetag set cscoperelative nmap css :cs find s =expand("") nmap csg :cs find g =expand("") nmap csc :cs find c =expand("") nmap cst :cs find t =expand("") nmap cse :cs find e =expand("") nmap csf :cs find f =expand("") nmap csi :cs find i ^=expand("")$ nmap csd :cs find d =expand("") nmap csa :cs find a =expand("") nmap cs :cs find if has('cscope') let tagfile = findfile("GTAGS", ".;") if filereadable(tagfile) exec "cs add" tagfile endif endif