vim with ctags, cscope
------------
Download VIM plug-ins from vim.org
Source Explorer
Nerd Tree
Tag list
unzip copy to vim plugins folder
~/.vim/plugins
------------
"VI env" set nu set ai set ts=4 set bg=dark ctag db" set tags=/home/fred/host/kernel-3.10/linux-3.10.89/tags "cscope db" set csprg=/usr/bin/cscope set csto=0 set cst set nocsverb cs add /home/fred/host/kernel-3.10/linux-3.10.89/cscope.out /home/fred/host/kernel-3.10/linux-3.10.89 set csverb "tag list" filetype on nmap:TlistToggle let Tlist_Ctags_Cmd = "/usr/bin/ctags" let Tlist_Inc_Winwidth = 0 let Tlist_Exit_OnlyWindow = 0 let Tlist_Auto_Open = 0 let Tlist_Use_Right_Window = 1 "Source Explorer" nmap :SrcExplToggle nmap h nmap j nmap k nmap l let g:SrcExpl_winHeight = 8 let g:SrcExpl_refreshTime = 100 let g:SrcExpl_jumpKey = " " let g:SrcExpl_gobackKey = " " let g:SrcExpl_isUpdateTags = 0 "Nerd Tree" let NERDTreeWinPos = "left" nmap :NERDTreeToggle "
------------------
make ARCH=x86 COMPILED_SOURCE=1 cscope tags
cscope -d ; do not update cross reference
------------------
F7, F8, F9 ;open plugins
CRTL + H J K L ; windows switching
SPACEBAR ; previous window
CTRL + ] ; jump to definition
CTRL + t ; back to previous code
cscope command
:CS find s <SYMBOL_NAME>
'Programming' 카테고리의 다른 글
Python - String, File, Regular Expression (0) | 2015.09.30 |
---|---|
Python - Stock Price Quote (0) | 2015.09.30 |
Python - Date, Time (0) | 2015.09.29 |
Python with Django (0) | 2015.09.26 |
Regular Expression (0) | 2015.09.25 |