zhangsanfeng88 发表于 2017-4-29 08:43:09

VIM python 自动补全插件

1、pydiction 版本: pydiction-1.2.zip 地址:http://sourceforge.net/projects/pydiction/
2、解压文件,将python_pydiction.vim 复制到 ~/.vim/after/ftplugin/ 目录(目录不存在,自己可以创建)下
3、将complete-dict 复制到 ~/.vim/tools/pydiction/ 目录下
4、进入vim安装目录,编辑 vimrc文件:
"pydiction 1.2 python auto complete"
filetype plugin on
let g:pydiction_location = "~/.vim/tools/pydiction/complete-dict"
"default g:pydiction_menu_height == 15
"let g:pydiction_menu_height = 20



ok, 你现在就可以新建一个python文件测试:vim test.py , 效果如下:

页: [1]
查看完整版本: VIM python 自动补全插件