Last active
July 10, 2022 23:04
-
-
Save rseyf/9b538bd3e91c9e11d672b8a03520628d to your computer and use it in GitHub Desktop.
My VIM Customizer
This file contains 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/bash | |
# make sure this file has execution permission to run (do NOT use sudo: | |
# $ chmod +x vim_installer.sh | |
# $ ./vim_installer.sh | |
# ===================================================================== | |
# install git | |
echo "======== VIM INSTALLER ========" | |
echo "MAKE SURE YOU HAVE GIT INSTALLED!" | |
echo "Then press any key to continue..." | |
read | |
# Setup Vundle: | |
echo "------------" | |
echo "Setting up vundle package manager..." | |
echo "mkdir -p ~/.vim/bundle/ ..." | |
mkdir -p ~/.vim/bundle/ | |
echo "git clone https://github.com/VundleVim/Vundle.vim ..." | |
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim | |
touch ~/.vimrc | |
echo "------------" | |
echo "Installing sublime editor theme for vim..." | |
mkdir -p ~/.vim/colors | |
curl https://gist.githubusercontent.com/rseyf/58dd79cbc7a555c1751fa441b0f0358c/raw/8fb4ebe7eb67eba51041e261e187bdba7b3da0ef/molokai.vim > ~/.vim/colors/molokai.vim | |
curl https://raw.githubusercontent.com/tomasiser/vim-code-dark/master/colors/codedark.vim > ~/.vim/colors/codedark.vim | |
echo "------------" | |
# Copy .vimrc file | |
echo "Creating .vimrc file..." | |
curl https://gist.githubusercontent.com/rseyf/b05a359878168a89fdd14c43887fd190/raw/1c37b166896a122899984ce3627d3fefde464a47/.vimrc > ~/.vimrc | |
echo "------------" | |
# Launch vim and run :PluginInstall | |
echo "Installing My Vim plugins listed in .vimrc file..." | |
vim +PluginInstall +qall | |
echo "Done!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can setup your customized vim environment by just copy pasting below command:
VIM Screenshot after setup
If you want to customize your vundle plugins:
VIM ROCKSSSSS!!