vim 的pydiction插件的下載及其使用

Pydiction 就是我們在使用vim 時使用 Tab鍵自動補全Python代碼,是一款非常不錯的插件。

下載Pydiction

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

配置Pydiction

cp -r ~/.vim/bundle/pydiction/after/ ~/.vim

新建.vimrc文件

vim ~/.vimrc
然後將以下內容填寫進去

filetype plugin on
let g:pydiction_location = '~/.vim/bundle/pydiction/complete-dict'
let g:pydiction_menu_height = 20

最後重啓一下你的 電腦就可以了

shutdown -r now
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章