Skip to content

Instantly share code, notes, and snippets.

@jpalala
Last active February 1, 2022 15:06
Show Gist options
  • Save jpalala/25eca95ab617e330438b755833db0a33 to your computer and use it in GitHub Desktop.
Save jpalala/25eca95ab617e330438b755833db0a33 to your computer and use it in GitHub Desktop.
guide to setting up neovim correctly

After you've installed nvim do an alias so nvim is called automatically:

alias vim=nvim

Apparently the folder ~/.vim needs to be mapped to ~/.config/nvim since that's where nvim lives, then also the .vimrc to the init.vim (recommend: back it up first just in case)

ln -s ~/.vim ~/.config/nvim
  ln -s ~/.vimrc ~/.config/nvim/init.vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment