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 文件


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM