美文网首页
Centos下装最新的VIM

Centos下装最新的VIM

作者: 胡小粥 | 来源:发表于2020-07-24 19:05 被阅读0次

说明:

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                

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    

相关文章

网友评论

      本文标题:Centos下装最新的VIM

      本文链接:https://www.haomeiwen.com/subject/drlslktx.html