Last active
July 3, 2020 18:17
-
-
Save Khalian/2572aa9138ef77385b9fc6689c7f9224 to your computer and use it in GitHub Desktop.
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
#!/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