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 



你可能感兴趣的:(VIM)