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

前端 未结 6 1126
死守一世寂寞
死守一世寂寞 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 15:03

    Try

    vim -p `grep -il sid *`
    

    if you want to open the files in different tabs in the same window.

提交回复
热议问题