Skip to content

Instantly share code, notes, and snippets.

@bowmanjd
Created September 7, 2020 01:44
Show Gist options
  • Save bowmanjd/ae16c97e3577fa6a6d435f8e6913af5f to your computer and use it in GitHub Desktop.
Save bowmanjd/ae16c97e3577fa6a6d435f8e6913af5f to your computer and use it in GitHub Desktop.
Neovim config pointing to ~/.vimrc
set runtimepath^=~/.vim runtimepath+=~/.vim/after
let &packpath = &runtimepath
source ~/.vimrc
@bowmanjd
Copy link
Author

bowmanjd commented Sep 7, 2020

If you are like me and want to occasionally fallback to Vim, then it may make sense create an init.vim that essentially points to ~/.vimrc so there is one point of configuration.

Save the above in ~/.config/nvim/init.vim and Neovim will load ~/.vimrc every time it is launched:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment