Skip to content

Instantly share code, notes, and snippets.

@RinatValiullov
Forked from pythoninthegrass/upgrade_vim.sh
Created January 20, 2020 10:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RinatValiullov/27a0ce1930b1e37d49a0f984c31c0539 to your computer and use it in GitHub Desktop.
Save RinatValiullov/27a0ce1930b1e37d49a0f984c31c0539 to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment