Tuesday, August 7, 2012

My JavaScript IDE: vim + nodejs + JSLint

Recently I had chance to spend more time to work with JavaScript. So I have created custom Vim configuration for JavaScript editing. Here is link to my dofiles on GitHub.

I have mapped JSLint to 'F5'. So I can run JSLint by hitting 'F5' and JSLint output will be shown in separate window. This mode activates then I open JavaScript file.

The easiest way to install JSLint first to install nodejs and then jslint node module:

npm install jslint -g