Under the user directory
Create User Profiles ~/.VIMRC
1. Command description
VSP Vertical Paging
2. Basic Configuration
Syntax on " syntax highlighting turn on set tabstop=4 "tab width set to 4set Expandtab " tab replaced by Space
3. Plug-in installation and configuration
Installing Ctags
sudo apt-get install Ctags
Set ctags for Python
Ctags-r-F ~/.vim/tags/python.ctags/usr/lib/python2.5/
Set tags+= $HOME/.vim/tags/python.ctags
This allows you to jump to the tag of the system function in Python code.
Ctags-rx Generate tags file
Tag Command usage:
CTRL +] jumps to the label of the word under the current cursor
Ctrl+o Return to previous label
Ctrl+t Return to previous label
Ctrl+w +] Jumps to the system function definition
Tag TagName jump to TagName tab
4. Installing the plugin Management Vim-addon-manager
sudo apt-get install Vim-addon-manager
Vim-addons status shows plug-in state
Vim-addons install XXXX installation xxxx plugin
Linux VIM Environment configuration