To open files in Grep's output to Vim's -o -mode

前端 未结 6 984
死守一世寂寞
死守一世寂寞 2021-01-31 14:19

How can you put a list of files to Vim\'s -o -mode?

I have a list of files as Grep\'s output. I run unsuccessfully

1

grep -il          


        
6条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-31 14:53

    Sorry I'm late. Some of these options work for me but with weird side effects. Try this:

    vim -o $(grep -il sid *)
    

提交回复
热议问题