"Introduction to Plugins"
Supertab enables the tab shortcut key to have a quicker contextual hint function. An auto-complete plugin
"Plug-in Installation"
(1) Installing with bundles
Add the following command in the ~/.VIMRC
' Supertab '
Then the command mode in the Vim editor is installed using the following command
: Bundleinstall
(2) using Git
If you do not use bundles then run the following command in ~/.vim/plugin if you are using bundles then run it in the ~/.vim/bundle folder. To download the plugin
git https://github.com/ervandew/supertab
(3) Direct download
Download and place in the ~/.vim folder
http://www.vim.org/scripts/script.php?script_id=1643
"Plug-in Configuration"
Add the following configuration in ~/.VIMRC
Let g:supertabretaincompletiontype=2
which
"0-The last complete method is not recorded
"1-remember the last completion method until you change it with the other completion commands
"2-remember the last completion method until you press ESC to exit insert mode
"Plugin use"
In the VIM insert mode, using the shortcut key ctrl+p can call the Supertab plug-in, very easy to use, a bit like the automatic completion of Eclipse in Windows Ctrl+j
If you want to use other shortcut keys, you can configure them in ~/.VIMRC, as follows
Let g:supertabdefaultcompletiontype="<C-X><C-O>"
Reference:
http://blog.csdn.net/duguteng/article/details/7417264
http://blog.csdn.net/namecyf/article/details/7787479
http://www.zlovezl.cn/articles/my-vim-plugins-for-python/
http://blog.163.com/lgh_2002/blog/static/4401752620106131162137/
Thank you very much for the people who are willing to share.
"Summary" Supertab of Vim Plugin