Skip to content

Instantly share code, notes, and snippets.

View dim912's full-sized avatar
🎯
Focusing

Dimuthu Senanayaka dim912

🎯
Focusing
View GitHub Profile
@dim912
dim912 / upgrade_vim.sh
Created September 2, 2019 18:26 — forked from pythoninthegrass/upgrade_vim.sh
Update to Vim8 on Centos 7
# SOURCE: @zhouyanlt https://gist.github.com/yevrah/21cdccc1dc65efd2a4712781815159fb#gistcomment-2695800
sudo yum install -y gcc git ncurses-devel
git clone https://github.com/vim/vim.git ~/vim
cd ~/vim/src
make distclean # if you built Vim before
make -j8
sudo make install
cp -ru ~/vim/src/vim /usr/bin # overwrites /usr/bin/vim w/o confirmation