File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ An automatic configuration program for vim
3939
4040 git clone https://github.com/chxuan/vimplus.git ~/.vimplus
4141 cd ~/.vimplus
42- ./install.sh( 不加sudo)
42+ ./install.sh // 不加sudo
4343
4444#### 设置Nerd Font
4545
@@ -142,6 +142,10 @@ An automatic configuration program for vim
142142
143143## Q & A
144144
145+ - ** ` 安装vimplus会经常失败,安装了几次都不成功!!! ` **
146+
147+ vimplus安装时需要访问外国网站,由于网络原因,可能会失败,安装成功也要1个多小时,ycm插件有200M左右,下载比较耗时,强烈推荐[ 手动编译安装ycm] [ 78 ] 。
148+
145149- ** ` 安装vimplus后Airline等插件有乱码,怎么解决? ` **
146150
147151 linux和mac系统需设置终端字体为` Droid Sans Mono Nerd Font ` 。
@@ -154,10 +158,6 @@ An automatic configuration program for vim
154158
155159 可以试试dconf-editor软件来设置,可以参考[ 这里] [ 76 ] 。
156160
157- - ** ` 安装vimplus会经常失败,安装了几次都不成功!!! ` **
158-
159- vimplus安装时需要访问外国网站,由于网络原因,可能会失败,安装成功也要1个多小时,ycm插件有200M左右,下载比较耗时,这里有下载好的[ YouCompleteMe.tar.gz] [ 37 ] 文件,下载后解压到~ /.vim/plugged/目录,并进入YouCompleteMe目录,linux和mac 10.14及其以后用户执行` ./install.py --clang-completer ` ,mac 10.14以前用户执行` ./install.py --clang-completer --system-libclang ` 即可安装。
160-
161161- ** ` 使用第三方库时怎么让ycm补全第三方库API? ` **
162162
163163 vimplus安装完毕之后,` ~ ` 目录下将会生成两个隐藏文件分别是.vimrc和.ycm_extra_conf.py,其中.vimrc是vim的配置文件,.ycm_extra_conf.py是ycm插件的配置文件,当你需要创建一个project时,需要将.ycm_extra_conf.py拷贝到project的顶层目录,通过修改该配置文件里面的` flags ` 变量来添加你的第三方库路径。
@@ -268,4 +268,5 @@ This software is licensed under the [MIT license][75]. © 2016 chxuan
268268 [ 75 ] : https://github.com/chxuan/vimplus/blob/master/LICENSE
269269 [ 76 ] : https://blog.csdn.net/wang73ying/article/details/82491993
270270 [ 77 ] : https://blog.csdn.net/liuyangbo121/article/details/82971736
271+ [ 78 ] : https://github.com/chxuan/vimplus/blob/master/compile_ycm.md
271272
Original file line number Diff line number Diff line change 2222
2323#### 下载ycm
2424
25- 下载[ YouCompleteMe.tar.gz] [ 1 ] 并解压到~ /.vim/plugged/
25+ 下载[ YouCompleteMe.tar.gz] [ 1 ] 并解压到` ~/.vim/plugged/ `
2626
2727#### 编译ycm
2828
6666
6767#### 下载ycm
6868
69- 下载[ YouCompleteMe_linux_with_clang.tar.gz] [ 2 ] 并解压到~ /.vim/plugged/
69+ 下载[ YouCompleteMe_linux_with_clang.tar.gz] [ 2 ] 并解压到` ~/.vim/plugged/ `
7070
7171#### 编译ycm
7272
You can’t perform that action at this time.
0 commit comments