Skip to content

Instantly share code, notes, and snippets.

@nik-garg
Created April 30, 2020 14:15
Show Gist options
  • Save nik-garg/3577cae7189fafc28ec356d799611d37 to your computer and use it in GitHub Desktop.
Save nik-garg/3577cae7189fafc28ec356d799611d37 to your computer and use it in GitHub Desktop.
Vim setup
# Install required pakcages
echo 'Installing required apt packages...'
sudo apt install -y curl git wget vim
# Switch to home dir and copy .vimrc
echo 'Downloading vimrc...'
cd $HOME
wget https://gist.githubusercontent.com/nik-garg/9c2337b00dc6147d74b630c5fcee0a00/raw/038e4f4c55f514f9391adeabcb52eb8f9fee8eb6/.vimrc
# Install vundle
echo 'Setting up vundle...'
cd $HOME
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
# Install colorschemes (base-16)
echo 'Installing vim colorschemes...'
cd $HOME
git clone https://github.com/chriskempson/base16-vim.git
mkdir -p $HOME/.vim/colors
mv $HOME/base16-vim/colors/* $HOME/.vim/colors/
rm -rf $HOME/base16-vim
# Install vundle plugins from vimrc
echo 'Installing vim plugins...'
cd $HOME
vim +PluginInstall +qall
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment