How do you use vim's quickfix feature?

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

    Put the following two lines in your .vimrc file:

    map  :cn
    map  :cp
    

    Now you can navigate through the errors using ctrl-j and ctrl-k, which mimics the standard down and up motion commands j and k.

提交回复
热议问题