SETUP MY VIM ENVIRONMENTSat, Nov 8, 2014
It is the Vim that bring we into the marvelous OSS world. Fiddling with it is full of surprise and happy.
Below records my steps of setting up my Vim environment after every system re-installation.
my vim config have be tested on:
Windows XP and above.
Mac OSX 10.9 and above using MacVim.
NOTE: currently I prefer to GUI version than terminal version, hence most of my configurations are tailored to GUI environments.
Setup My Vim-Config Repo
First pull down my vim-config repo from github.
Then create a directory named neobundle under the pulled down repo, which will holds almost all vim plugins that will be synced by neobundle later.
Create the initial cur_mode file under .vim/chameleon/, which always stores the chameleon mode of next vim session.
# On Widnows, Must Be Put In C:/Documents And Settings/<User Name>/Vimfiles git clone https://github.com/Mudox/vim-config.git ~/.vim cd .vim mkdir neobundle cd chameleon echo 'all' > cur_mode
Install Prerequisites Vim Plugins
vim-chameleon is my own plugin for managing massive and ever growing vim & vim plugin configurations.
cd ~/.vim/neobundle # NOTE: The Renaming Is Important git clone https://github.com/Mudox/vim-chameleon chameleon
neobundle is a sophisticated vim plugin manager that I have been using for a long time.
cd ~/.vim/neobundle # NOTE: The Renaming Is Important git clone https://github.com/Shougo/neobundle.vim neobundle
Install & compile vimproc.
cd ~/.vim/neobundle # NOTE: The Renaming Is Important git clone https://github.com/Shougo/vimproc.vim vimproc cd vimproc make # see vimproc/README.md for compilation commands for various platforms.
Run vim to see all other 140+ plugins get installed.
You can run vim in terminals or open gVim. Better run vim in terminal to watch the plugins installing progress and spot any errors clearly.
Vim Environment For Specific Use Case
Node.js (and NPM which comes with it) is the essentials of everything below.
npm install jshint -g npm install jslint -g npm install eslint -g npm install js-beautify -g
npm intall csslint -g npm install csscomb -g