To open files in Grep’s output to Vim’s -o -mode April 24, 2023 by Tarik Try vim -p `grep -il sid *` if you want to open the files in different tabs in the same window.