Centos vim python 開發環境配置

Centos python 自動補全插件:pydiction


1 Pydiction主要包含三個文件:
python_pydiction.vim  -- Vim plugin that autocompletes Python code.
complete-dict         -- Dictionary file of Python keywords, modules, etc.
pydiction.py          -- Python script to add more words to complete-dict.


2 下載 Pydiction

mkdir ~/.vim/bundle -p

cd ~/.vim/bundle
git clone https://github.com/rkulla/pydiction.git


3 配置Pydiction
cp -r ~/.vim/bundle/pydiction/after/ ~/.vim


4 配置vimrc
vi ~/.vim/vimrc
filetype plugin on
let g:pydiction_location = '~/.vim/bundle/pydiction/complete-dict'
let g:pydiction_menu_height = 3
set ts=4
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章