安裝方式
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