How do you use vim's quickfix feature?

前端 未结 8 1209
清酒与你
清酒与你 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:42

    Maybe this option didn't exist when this question was written (or maybe I'm embarrassing myself because there's something in my .vimrc that makes this happen) but when I get a Quickfix List, I just navigate it with j and k then hit (i.e. the Enter key) to jump to that place in the file.

    Then, to get back to the Quickfix List I type Ctrl+W j for "move down a window" and I'm back.

    Finally, when I'm done, I just type :q, like I would to close any normal window.

提交回复
热议问题