Setting VIM to be useful IDE for development

Recently, I am tired of finding IDE for each environment I work with (MaxOS, Windows, Linux). I finally decided to switch to VIM. I found a very good summary here to make VIM to be a very useful IDE for development. This is the script to install all of them in a while.


#!/bin/sh
if [ ! -d ~/.vim/bundle ]; then
mkdir -p ~/.vim/bundle
fi
cd ~/.vim/bundle

# install plugin manager Vundle https://github.com/gmarik/Vundle.vim
git clone https://github.com/gmarik/Vundle.vim.git

# install file explorer NERDTree https://github.com/scrooloose/nerdtree
git clone https://github.com/scrooloose/nerdtree.git

# install FuzzyFinder https://github.com/vim-scripts/FuzzyFinder
git clone https://github.com/vim-scripts/FuzzyFinder.git

# install lightline A light and configurable statusline/tabline for Vim https://github.com/itchyny/lightline.vim
git clone https://github.com/itchyny/lightline.vim.git

# install EasyMotion https://github.com/Lokaltog/vim-easymotion
git clone https://github.com/Lokaltog/vim-easymotion

# install Surround https://github.com/tpope/vim-surround
git clone git://github.com/tpope/vim-surround.git

# install Emmet, webdev-oriented plugin, https://github.com/mattn/emmet-vim
git clone https://github.com/mattn/emmet-vim.git

# install JSHint2, webdev-oriented plugin, https://github.com/Shutnik/jshint2.vim
git clone https://github.com/Shutnik/jshint2.vim.git

# install CSS Color, webdev-oriented plugin, https://github.com/skammer/vim-css-color
git clone https://github.com/skammer/vim-css-color.git

# install l9 http://www.vim.org/scripts/script.php?script_id=3252
curl -o L9.zip http://www.vim.org/scripts/download_script.php?src_id=13948
unzip -d L9 L9.zip

# download font wombat256.vim http://www.vim.org/scripts/script.php?script_id=2465
mkdir -p ~/.vim/colors
cd ~/.vim/colors
curl -o wombat256.vim http://www.vim.org/scripts/download_script.php?src_id=13397
# download .vimrc
cd ~
if [ -f .vimrc ]; then
mv .vimrc .vimrc.`date “+%Y%m%d-%H%M%S”`
fi
curl -o .vimrc https://gist.githubusercontent.com/gosukiwi/080d1d3f87f861a15c44/raw/47c4ac7c9e14cdffaeca5c7b22ac0561ace98576/.vimrc

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s