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 v7
npm install -g babel-eslint
npm install -g eslint-config-airbnb eslint-plugin-react eslint
npm install -g csslint
brew install tidy-html5
- Copy
.vimrc
file 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' + u
to fetch the plugins configured in the.vimrc
. - It's suggested that you got time to read the
.vimrc
file. 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