VIM - 自動補全插件 jedi-vim

安裝方式

1.  在.vimrc 添加 jedi-vim 和 supertab

 call vundle#begin()
...
 Bundle 'davidhalter/jedi-vim'
 Bundle 'ervandew/supertab'
...
 call vundle#end()            " required
 filetype plugin indent on    " required
2.  打開 vim 使用 :PluginInstall 命令安裝插件

3. 執行 下面命令

 cd ~/.vim/bundle/jedi-vim/ && git submodule update --init

4. 在 .vimrc 添加

 let g:SuperTabDefaultCompletionType = "context"
 let g:jedi#popup_on_dot = 0

5. 然後就可以愉快的使用 Tab 鍵來補全了


-----

其他更多設置可查閱官網

https://github.com/davidhalter/jedi-vim 



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