-----------------------------------------------------
@@cscope setting on ubuntu
1./usr/share/vim/vim72/plugin/cscope_map.vim
@@Step 1 : Create cscope.out file on project.
#find . -name '*.h' -o -name '*.c' | cscope -i - -b &
or
#find . -name '*.[hc]' | cscope -i - -b -R &
Step 2 : At cscope.out directory and trace code by cscope
Search "Ctrl+[" in my PC.
General using "Ctrl+\" in general PC.
Step 3 :
@@ctags: "ctags -R ."
Start trace code "Ctrl+]"
----------------------------------------------------
ctaglist:
vi /etc/vim/vimrc
"Taglist edit"
let Tlist_Show_One_File=1
let Tlist_Exit_OnlyWindow=1
nnoremap
----------------------------------------------------
reference:
http://www.cmlab.csie.ntu.edu.tw/~daniel/linux/vim_source_navigation.html
沒有留言:
張貼留言