VIM node. js Plugin

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.