admin管理员组

文章数量:1516870

Ubnutu

以前YouCompleteMe配置较为复杂需要自己编译,但是现在18.04以上的ubnutu仓库包里已经自带了YouCompleteMe,我们可以使用两条命令就可以轻松使用:

sudo apt install vim-youcompleteme
sudo vim-addon-manager install youcompleteme

ubnutu下有vim-scripts来自动管理vim插件,所以非常简单。

但是启动会报这个错误:

Error detected while processing /home/zzh/.vim/plugged/vim-textobj-indent/plugin/textobj/indent.vim:
line   37:
E117: Unknown function: textobj#user#plugin
Press ENTER or type command to continue

我们根据路径打开这个文件,然后把37行的函数调用全部删除就可以了。

演示:

本文标签: Ubnutu