Skip to content

My vim configurations & mac development environment

Notifications You must be signed in to change notification settings

dzyhenry/vim_env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vim_env

My vim configurations & mac development environment.

Install nvm & node

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

Install lints for JavaScitp, CSS, HTML (For Mac)

npm install -g babel-eslint
npm install -g eslint-config-airbnb eslint-plugin-react eslint
npm install -g csslint
brew install tidy-html5

Launch Your Vim

  1. Copy .vimrc file to your ~/
  2. 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.
  3. 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.
  4. 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

Use Vim to Edit MarkDown

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

About

My vim configurations & mac development environment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published