说明:
Centos7 默认库更新 vim 的话任然不是最新的,大概为 version 7.4.629。
如何更新:
git clone https://github.com/vim/vim.git
yum install ncurses-devel.x86_64
cd vim/
./configure
make && make install
mv /usr/bin/vim /usr/bin/vim_old
ln src/vim /usr/bin/vim
vim
一键执行版git clone https://github.com/vim/vim.git;yum install ncurses-devel.x86_64;cd vim/;./configure;make && make install;mv /usr/bin/vim /usr/bin/vim_old;ln src/vim /usr/bin/vim
have fun
~ VIM - Vi IMproved
~
~ version 8.2.1287
~ by Bram Moolenaar et al.
~ Vim is open source and freely distributable
~
~ Help poor children in Uganda!
~ type :help iccf<Enter> for information
~
~ type :q<Enter> to exit
~ type :help<Enter> or <F1> for on-line help
~ type :help version8<Enter> for version info