1、安装pydiction自动补全插件

pydiction-1.2.zip

http://vim.sourceforge.net/scripts/script.php?script_id=850

 

[root@testl ~]# cat .vimrc

filetype plugin on

let g:pydiction_location = '~/.vim/tools/pydiction/complete-dict'

let g:pydiction_menu_height = 20

 

mkdir  -p  ~/ .vim/tools/pydiction/ && cp complete-dict  ~/ .vim/tools/pydiction/

mkdir  -p  ~/.vim/after/ftplugin/&&cp python_pydiction.vim ~/.vim/after/ftplugin/

如下:

posted on 2011-08-15 13:34  xunya  阅读(838)  评论(0)    收藏  举报