Ctags-r the root directory to generate tags
Add set tags=/.../.../tags in. vimrc
CTRL +] Jump
G CTRL +] cross-directory jump
: TS Lists all
: TP jumps to the previous
: TN jumps to the next
Tlist Installation
Download the latest version of TagList plugin to http://www.vim.org/scripts/script.php?script_id=273.
After downloading, unzip the file in the ~/.vim/directory
Unzip
This puts a file in the ~/.vim/plugin and ~/.vim/doc directories:
Plugin/taglist.vim–taglist Plug-in
Doc/taglist.txt-taglist Help Files
Some configuration items
"""""""""""""""""""""""""""""
"Tag list (ctags)
""""""""""""""""""""""""""""""
Let Tlist_ctags_cmd = '/usr/bin/ctags '
Let Tlist_show_one_file = 1
Let Tlist_exit_onlywindow = 1
"Let Tlist_use_right_window = 1
Let Tlist_auto_open=1
Http://www.cnblogs.com/adm1989/archive/2013/04/09/3010670.html
Vim Auto-complete
FileType plugin indent on
Open file type detection, add this sentence can be used to complete the smart
Set Completeopt=longest,menu
C-n and C-p
VIM Environment Setup