2014年1月12日 星期日

[Ctags][VIM] How to use ctags to find the definition of the function

1. sudo apt-get install ctags
apt-get install exuberant-ctags

2. Under the folder of project
Type   ctags -R

3. Define the shortcut key to start ctags
vim ~/.vimrc
map <C-F12> :set tags=tags;/ <CR>
Another shortcut key
map <F7> :set number!<CR>
map <F9> :set paste!<CR>

Reference:









0 意見:

張貼留言