How do you use vim's quickfix feature?

前端 未结 8 1163
清酒与你
清酒与你 2020-12-22 15:20

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, whic

相关标签:
8条回答
  • 2020-12-22 15:59

    The best-practice way of integrating JavaScript syntax-checking is using the Syntastic Vim plugin, which is using Vim's location-list (which is parallel to the quickfix) window.

    I've written answers for this question and this question explaining how to do it, plus also how to get source-code browsing / tag-list for Vim using the community-driven jshint.com (which is way better than JSLint IMO) and Mozilla's DoctorJS (formerly jsctags).

    0 讨论(0)
  • 2020-12-22 16:05

    the quickfix window is operated mostly like any other vim window: j down a line, k up a line, :cn to jump to the next error/warning, etc.

    experiment!

    0 讨论(0)
提交回复
热议问题