VIM for Python环境配置

1、安装pydiction自动补全插件

pydiction-1.2.zip

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

 

[[email protected] ~]# 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/

如下:

转载于:https://www.cnblogs.com/liwanhong/archive/2011/08/15/2139379.html