Skip to content

Instantly share code, notes, and snippets.

@Callisto13
Last active April 10, 2020 18:07
Show Gist options
  • Save Callisto13/440f21632b75b289d02daa81cf65e6ee to your computer and use it in GitHub Desktop.
Save Callisto13/440f21632b75b289d02daa81cf65e6ee to your computer and use it in GitHub Desktop.

Install instructions for masters-of-cats/a-new-hope NeoVim config.

Install required packages

Mac

brew install python3 python@2 neovim
pip install neovim
pip3 install neovim

Linux

sudo apt-get install neovim python2 python3
pip install neovim --user
pip3 install neovim --user

Clone the repo

git clone https://github.com/masters-of-cats/a-new-hope ~/.config/nvim

Install the plugins and binaries

nvim --headless +PlugInstall +PlugUpdate +GoUpdateBinaries +qall
nvim --headless +UpdateRemotePlugins +qall

Start NeoVim

nvim <filename>
# or
nvim .
# or
nvim

Once you have opened NeoVim, if you see errors it is possible the headless install did not work. Without closing NeoVim, type :PlugInstall and enter, followed by :UpdateRemotePlugins and enter. If you get further errors, try completely uninstalling and then reinstalling Python, Python3, Pip, and Pip3.

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