Linux 更新vim

时间:2023-03-09 13:32:20
Linux 更新vim

https://blog.csdn.net/linuxnews/article/details/52938583

https://blog.csdn.net/nzyalj/article/details/75331822

开启vim的py支持: http://www.codeweblog.com/关于开启vim的python支持/

https://github.com/Valloric/YouCompleteMe/wiki/Building-Vim-from-source

需要重启shell

RHEL/CentOS和Fedora

yum install ncurses-devel
wget https://github.com/vim/vim/archive/master.zip
unzip master.zip
cd vim-master
cd src/
./configure
make
make install
vim

Debian/Ubuntu和Mint

sudo apt install ncurses-dev
wget https://github.com/vim/vim/archive/master.zip
unzip master.zip
cd vim-master
cd src/
./configure
make
sudo make install
vim

更新完后找到配置文件

:scriptnames  # 应该是default.vim 文件