Skip to content

Instantly share code, notes, and snippets.

@thieung
Forked from joelpalmer/update_neovim.zsh
Created December 21, 2022 08:16
Show Gist options
  • Save thieung/25c40c873df6e6c442e9ded3c145e5de to your computer and use it in GitHub Desktop.
Save thieung/25c40c873df6e6c442e9ded3c145e5de to your computer and use it in GitHub Desktop.
Update, Build and Install Neovim
# Update Neovim to latest from master
# https://github.com/neovim/neovim/commits/master
# You should have the Neovim repo cloned
upnvim() {
cd ~/vim-dev/sources/neovim # change to your local repo
git pull
make distclean
make CMAKE_BUILD_TYPE=RelWithDebInfo -j4 # Fast with Debug info. Not quite Release fast.
sleep 10 # You don't need this but I have my reasons :-)
sudo make install
# enter password
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment