Last active
May 5, 2021 15:25
-
-
Save nik-garg/5ebf7518d294999a327c5dc46220c4d8 to your computer and use it in GitHub Desktop.
Vim setup 2
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
# Install required pakcages | |
echo 'Installing required apt packages...' | |
sudo apt install -y curl wget | |
# Installing latest VIM | |
sudo add-apt-repository -y ppa:jonathonf/vim | |
sudo apt update | |
sudo apt install -y vim | |
# Switch to home dir and copy .vimrc | |
echo 'Downloading vimrc...' | |
cd $HOME | |
wget https://gist.githubusercontent.com/nik-garg/7a2c139fb9a9d211b0a56a4f9d779e4f/raw/11529079fe675e25ebadc8d2c6f8c3b6698a53c5/.vimrc | |
# Install vim plug | |
echo 'Installing vim plug...' | |
cd $HOME | |
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ | |
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
# Install plugins from vimrc | |
echo 'Installing vim plugins...' | |
cd $HOME | |
vim +'PlugInstall --sync' +qa |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment