Last active
December 21, 2022 08:16
-
-
Save joelpalmer/a923304a4e18ddbd2c9931e595109377 to your computer and use it in GitHub Desktop.
Update, Build and Install Neovim
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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