How do you use vim's quickfix feature?

Posted by hora on Stack Overflow See other posts from Stack Overflow or by hora
Published on 2009-11-17T07:04:00Z Indexed on 2014/08/22 22:21 UTC
Read the original article Hit count: 321

Filed under:
|

I'm a pretty new Vim user and I've found that its learning curve is quite steep (at least for me). I just installed this vim script for JavaScriptLint error checking, which shows errors in vim's quickfix window once I save a buffer.

However, I don't know what to do next.. How do I 'scroll' through all the errors? How do I close the quickfix 'window'? How do I get it to check for errors after I've made changes to my code?

I've looked at the vim quickfix docs but the amount of commands are overwhelming and I can't seem to find what I want. Any help would be appreciated.

A side question: is there any way to have javascriptlint check for js errors for code residing in a .html file?

Thanks!

© Stack Overflow or respective owner

Related posts about vim

Related posts about jslint