Skip to content

Instantly share code, notes, and snippets.

@Khalian
Last active July 3, 2020 18:17
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Khalian/2572aa9138ef77385b9fc6689c7f9224 to your computer and use it in GitHub Desktop.
Save Khalian/2572aa9138ef77385b9fc6689c7f9224 to your computer and use it in GitHub Desktop.
#!/bin/sh
# ARE YOU A VIMPLETON? DONT YOU WISH YOU HAD A RAD VIM SETUP. WELL LOOK NO FURTHER. INTRODUCTING, THE ULTIMATE VIM CONFIG.
# FULLY ASYNCRHONOUS, NON BLOCKING VIM!!!!
# Tested on Amazon Linux 2017 (and by extension RHEL and Fedora machines).
# First install neovim
wget https://gist.githubusercontent.com/Khalian/ebd345b418b6f42a0359b4c89961af4c/raw/a69a496caf247d40535bc194fa2f08923c63d072/install_neovim_to_amazonlinux.sh
sh install_neovim_to_amazonlinux.sh
# Then symlink vim configs to neovim.
mkdir ~/.config
mkdir ~/.config/nvim
ln -s ~/.vim ~/.config/nvim
ln -s ~/.vimrc ~/.config/nvim/init.vim
# Install git
sudo yum install -y git wget
# Install the basic vimrc defs. This would act as a solid base to work on.
git clone git://github.com/amix/vimrc.git ~/.vim_runtime
sh ~/.vim_runtime/install_awesome_vimrc.sh
# plugin manager through vim plug specifically for neovim installation
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
# https://gist.github.com/Khalian/e07ae6b9ffa7f9bf3eb1620b4b4be7bb. Keep this raw link updated if you change the file.
wget https://gist.githubusercontent.com/Khalian/e07ae6b9ffa7f9bf3eb1620b4b4be7bb/raw/0b09b5f403918f3b6ef3bfcc417cd22e1ccc735f/.vimrc -O ~/.vimrc
echo "Please Run :PlugInstall after logging into nvim"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment