My vim configurations & mac development environment.
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.30.1/install.sh | bash- Use nvm to install node(choose any version you like)
nvm install v7npm install -g babel-eslint
npm install -g eslint-config-airbnb eslint-plugin-react eslintnpm install -g csslintbrew install tidy-html5- Copy
.vimrcfile to your~/ - We set
'(leader) + u(short cut) to intialize your vim plugins, so you may use vim to open any file(just ignore the errors vim emits), and then just press' + uto fetch the plugins configured in the.vimrc. - It's suggested that you got time to read the
.vimrcfile. You may not understand the vim syntax completely, since the programming languages are somehow connected, I believe you could easily get the idea. - Install vim plugin YouCompleteMe
- go to YouCompleteMe director:
$cd ~/vim/bundle/YouCompleteMe - fetch YCM's dependencies:
$git submodule update --init --recursive - install cmake:
$brew install cmake - Build YCM core:
$./install.py
- install instant-markdown-d & xdg-utils
npm install -g instant-markdown-d
npm install -g xdg-utils- clone vim-instant-markdown to your pathogen bundle('~/.vim/bundle/')
git clone https://github.com/suan/vim-instant-markdown.git