Forked from kawaz/install_neovim_to_amazonlinux.sh
Last active
March 30, 2020 19:43
-
-
Save git-Pqrd/d683e43402c2a601b6e21f467e9e9a4d to your computer and use it in GitHub Desktop.
install neovim to amazonlinux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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