Pydiction is the vim plugin that realize the python keywords auto-completion.
1、Download
2、Extract it
unzip pydiction-1.2.zip
3、Copy some files,file complete-dict contains all the python keywords
cp pydiction-1.2/python_pydiction.vim ~/.vim/after/ftplugin/
mkdir -p ~/.vim/tools/pydiction/complete-dict
cp pydiction-1.2/complete-dict ~/.vim/tools/pydiction/
4、open .vimrc and add
"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
5、Test it(press key TAB)
djstava
阅读(1715) | 评论(0) | 转发(0) |