vimplus的安装和使用问题

github 地址:

https://github.com/chxuan/vimplus.git

安装命令(当然在linux下,我的系统为Deepin20.05)

git clone https://github.com/chxuan/vimplus.git ~/.vimplus
cd ~/.vimplus
./install.sh

常规的问题github上已经列出,我碰到的问题

插件安装的问题

YouCompleteMe插件问题

在B站上看过一个视频,讲过这个问题,

视频地址:
https://www.bilibili.com/video/BV1jL4y1b7Xb?spm_id_from=333.880.header_right.history_list.click
第十六分钟,讲的就是这个问题,大致意思是需要对这个插件重新安装下。

这个目录下有install.sh和install.py两个文件。执行./install.sh --help

接下来安装需要用到 --clang-completer参数。好像还不能执行install.sh,要用python3 ./install.py --clang-completer这个命令才行。
执行完毕后就可以解决这个问题。具体有什么用,为什么这么用,我也不大懂,也懒得去看他的源码。

vim支持python3的问题


如果python3前面没有+号,就需要重新编译vim。具体参见:
https://www.cnblogs.com/xiaolee-tech/p/15858034.html

最近在最新版的Deepin上又发现的新问题

Error detected while processing /home/zyle/.vim/plugged/vim-fugitive/plugin/fugitive.vim:
line 474: E1208: -complete used without allowing argumentsline 475: E1208: -complete used without allowing argumentsline 479: E1208: -complete used without allowing argumentsline 482: E1208: -complete used without allowing argumentsPress ENTER or type command to continue
找到这个文件,到这个文件中把相应的行注释掉,反正也不知道有什么用,有问题了再说!
重启vim

看起来是不是就很舒服?

posted @   xiaoleebaba  阅读(732)  评论(2编辑  收藏  举报
相关博文:
阅读排行:
· winform 绘制太阳,地球,月球 运作规律
· 超详细:普通电脑也行Windows部署deepseek R1训练数据并当服务器共享给他人
· 上周热点回顾(3.3-3.9)
· AI 智能体引爆开源社区「GitHub 热点速览」
· 写一个简单的SQL生成工具
点击右上角即可分享
微信分享提示