Unit new Big God said backstage to use node. js Rewrite, onlookers a bit feel good ah, learn JS finally has the power.
At home to configure the Vim, record it.
Install these installation packages under the. Vim/bundle folder:
//======
Alignment tool TABULAR,VIM code alignment plug-ins, you can implement a variety of alignment features
Bundle ' git clone git://github.com/godlygeek/tabular.git '
Common commands are as follows
: Tab/= equals alignment: Tab/: Colon Alignment: Tab/:\zs text alignment after colon
"JS syntax error-checking plugin Jshint
Bundle ' git clone https://github.com/walm/jshint.vim.git '
Common commands are as follows
: Jshint
"Syntastic This is an extended application for grammar checking in vim that can be more accurately positioned to the syntax error point
Bundle ' git clone https://github.com/scrooloose/syntastic.git '
"Vim-javascript Javascript Syntax highlighting
Bundle ' Clone Https://github.com/pangloss/vim-javascript.git '
"Vim Snippets for node. js
Bundle ' Clone Https://github.com/jamescarr/snipmate-nodejs.git '
The Vim code hints for node. JS Usage: When editing the JS code, press Ctrl-x and Ctrl-o to enter the prompt mode.
Bundle ' git clone https://github.com/myhere/vim-nodejs-complete.git '
"Vim Dictionary for node. js
Bundle ' git clone https://github.com/guileen/vim-node.git '
This is going to add a sentence to the. VIMRC:
"U FileType javascript
Set dictionary+= $VIM. ' ~\.vim\bundle\vim-node\dict\node.dict '
VIM node. js Plugin