Skip to content

Instantly share code, notes, and snippets.

@merlinvn
Last active August 26, 2021 16:16
Show Gist options
  • Save merlinvn/dc6e1a0dad06d10ec7ce86ca3f53844e to your computer and use it in GitHub Desktop.
Save merlinvn/dc6e1a0dad06d10ec7ce86ca3f53844e to your computer and use it in GitHub Desktop.
#!/bin/bash
sudo add-apt-repository ppa:neovim-ppa/unstable
sudo apt-get update
sudo apt-get install neovim
# sudo update-alternatives --install /usr/bin/vi vi /usr/bin/nvim 60
# sudo update-alternatives --config vi
# sudo update-alternatives --install /usr/bin/vim vim /usr/bin/nvim 60
# sudo update-alternatives --config vim
# sudo update-alternatives --install /usr/bin/editor editor /usr/bin/nvim 60
# sudo update-alternatives --config editor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment