Vim: open files of the matches on the lines given by Grep?

前端 未结 8 1424
无人共我
无人共我 2021-02-02 16:46

I want to get automatically to the positions of the results in Vim after grepping, on command line. Is there such feature?

Files to open in Vim on the lines give

8条回答
  •  青春惊慌失措
    2021-02-02 17:14

    I highly recommend ack.vim over grep for this functionality.

    http://github.com/mileszs/ack.vim

    http://betterthangrep.com/

提交回复
热议问题