Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save git-Pqrd/d683e43402c2a601b6e21f467e9e9a4d to your computer and use it in GitHub Desktop.

Select an option

Save git-Pqrd/d683e43402c2a601b6e21f467e9e9a4d to your computer and use it in GitHub Desktop.
install neovim to amazonlinux
#!/usr/bin/env bash
sudo yum groups install -y Development\ tools
sudo yum install -y cmake
sudo yum install -y python34-{devel,pip}
sudo pip-3.4 install neovim --upgrade
# creating and storing the init.vim
wget https://gist.githubusercontent.com/git-Pqrd/d89db665cbceda5493d2e976a612cfc3/raw/c226b8d636ec352c5266babded13120dc85ebbd1/.light_vimrc
mkdir -p ~/.config/nvim/
mv .light_vimrc ~/.config/nvim/init.vim
(
cd "$(mktemp -d)"
git clone https://github.com/neovim/neovim.git
cd neovim
make CMAKE_BUILD_TYPE=Release
sudo make install
)
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment