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
发布了24 篇原创文章 · 获赞 5 · 访问量 1694

猜你喜欢

转载自blog.csdn.net/weixin_44091157/article/details/104229911