Pydiction
时间:2010-05-02 来源:djstava
Pydiction is the vim plugin that realize the python keywords auto-completion.
1、Download
http://vim.sourceforge.net/scripts/script.php?script_id=850
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
1、Download
http://vim.sourceforge.net/scripts/script.php?script_id=850
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
相关阅读 更多 +