1 " Make sure that vim was compiled with the '--enable-cscope' option
5 " check cscope for definition of a symbol before checking ctags
8 " add any cscope database in current directory
9 if filereadable("cscope.out")
13 " show msg when any other cscope db added
16 nmap \s :cs find s <C-R>=expand("<cword>")<CR><CR>
17 nmap \g :cs find g <C-R>=expand("<cword>")<CR><CR>
18 nmap \c :cs find c <C-R>=expand("<cword>")<CR><CR>
19 nmap \t :cs find t <C-R>=expand("<cword>")<CR><CR>
20 nmap <C-\>e :cs find e <C-R>=expand("<cword>")<CR><CR>
21 nmap \f :cs find f <C-R>=expand("<cfile>")<CR><CR>
22 nmap <C-\>i :cs find i ^<C-R>=expand("<cfile>")<CR>$<CR>
23 nmap \d :cs find d <C-R>=expand("<cword>")<CR><CR>