首页 > 代码库 > vim自动补全

vim自动补全

from:http://blog.csdn.net/loovejava/article/details/11751461 

 

   1. 下载插件:

         下载地址:http://download.csdn.net/detail/loovejava/6284225

   2.拷贝致相应的目录

1 unzip  pydiction-1.2.1.zip  2 cp python_pydiction.vim  /usr/share/vim/vim73/ftplugin  3 mkdir  /usr/share/vim/vim73/pydiction  4 cp complete-dict  /usr/share/vim/vim73/pydiction/  5 cp pydiction.py  /usr/share/vim/vim73/pydiction/ 
View Code

   3.修改vim配置文件

1 let g:pydiction_location = /usr/share/vim/vim73/pydiction/complete-dict  2 let g:pydiction_menu_height = 20 
View Code

 

  亲测可用

 

vim自动补全