???????
????????????????????????????????飬????????????????????????????????? ????????????????????????????
??????Windows????sourceinsight?????????????????????ù????????????????????????????????Linuxer???????????Windows????????????????Linux???????????????
????????????????????Linux?????????????

????vim+ctags+cscope
?????????????????vim???ctags??cscope???????????????????????裬??????????????????????
???????
????sudo apt-get install vim ctags cscope
????vim
????vim??????????????????????????????????????δ????????д??vim???????á?????????? Vim ??????????????????????
????ctags
????ctags????ú????vim??????????ctags??????
?????????????????????ctags -R????????????tags????????????????Tags???????????????????????tag???????????
?????????????????????Ctrl + ]????????????崦
????Ctrl + t???????????????λ??
??????????????ctags????????????????????????????ctags????е??????????????????λ?????????
????cscope
????vim??????????cscope??????
?????????????????????cscope -Rbq????????cscope.out???(?????????)
????-R: ???????????????????????????е????
????-b: ????????????????????cscope?????
????-q: ????cscope.in.out??cscope.po.out????????cscope?????????
?????????vim?????:cs add cscope.out??????????
?????????????????:cs find x var???в??????x?????????var?????????????????????
????cscope???8???????
????s: ????C???????????????????????????????????
????g: ???????????????????λ???????ctags?????????
????d: ?????????????????
????c: ?????????????????
????t: ??????????????
????e: ????egrep????????egrep??????????????????
????f: ????????????????vim??find????
????i: ?????????????????
???????磬????????vim 7.0????????в??????do_cscope()??????????????????????”:cs find c do_cscope“??????????????????????????????к???????do_cscope()????????????”:cs find s do_cscope“?????????C????????λ???????vim?г??????????????????λ?á?
??????ζ???????cs find????????????????е??鷳??????и????????????????У?vim?????????????????????????cscope??????????????.vimrc?м??ɡ?
????"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
????" cscope setting
????"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
????if has("cscope")
????set csprg=/usr/bin/cscope
????set csto=1
????set cst
????set nocsverb
????" add any database in current directory
????if filereadable("cscope.out")
????cs add cscope.out
????endif
????set csverb
????endif
????nmap <C-@>s :cs find s <C-R>=expand("<cword>")<CR><CR>
????nmap <C-@>g :cs find g <C-R>=expand("<cword>")<CR><CR>
????nmap <C-@>c :cs find c <C-R>=expand("<cword>")<CR><CR>
????nmap <C-@>t :cs find t <C-R>=expand("<cword>")<CR><CR>
????nmap <C-@>e :cs find e <C-R>=expand("<cword>")<CR><CR>
????nmap <C-@>f :cs find f <C-R>=expand("<cfile>")<CR><CR>
????nmap <C-@>i :cs find i ^<C-R>=expand("<cfile>")<CR>$<CR>
????nmap <C-@>d :cs find d <C-R>=expand("<cword>")<CR><CR>
????????????ü???Ctrl + @???:cs find??????????????????????????????????????????????????Ctrl + @ + s??????????????????????????????????????????????????????????