先看下效果图
___________________________________________________________________________________
项目主页https://github.com/rkulla/pydiction
安装
cd
git clone https://github.com/rkulla/pydiction.git
cd pydiction
mkdir -p ~/.vim/tools/pydiction
cp -r pydiction/after ~/.vim
cp pydiction/complete-dict ~/.vim/tools/pydiction
# tree ~/.vim /root/.vim ├── after │ └── ftplugin │ └── python_pydiction.vim └── tools └── pydiction └── complete-dict配置
vim ~/.vimrc
filetype plugin on
filetype plugin on
let g:pydiction_location = '~/.vim/tools/pydiction/complete-dict'
使用
raw<Tab>