修改vim安装
This commit is contained in:
parent
8a88c9cfd1
commit
3fa5d74f29
11
vim安装.md
11
vim安装.md
@ -44,12 +44,15 @@ cd vim
|
|||||||
--enable-multibyte \
|
--enable-multibyte \
|
||||||
--with-x \
|
--with-x \
|
||||||
--with-compiledby="xorpd" \
|
--with-compiledby="xorpd" \
|
||||||
--with-python3-config-dir=/usr/lib/python3.4/config-3.4m-x86_64-linux-gnu \
|
--with-python3-config-dir=/usr/lib/python3.9/config-3.9m-x86_64-linux-gnu \
|
||||||
--prefix=/opt/vim74
|
--prefix=/opt/vim82
|
||||||
|
|
||||||
make
|
make
|
||||||
sudo make install
|
sudo make install
|
||||||
```
|
```
|
||||||
|
在`~/.zshrc`中添加下面内容即可:
|
||||||
|
```bash
|
||||||
|
VIM_HOME=/opt/vim82
|
||||||
|
export PATH=$PATH:$VIM_HOME/bin
|
||||||
|
```
|
||||||
|
|
||||||
---------
|
|
||||||
跟新时间:2017-07-04
|
|
||||||
|
Reference in New Issue
Block a user