Re:I Use My Terminal
by _sharp on Tuesday June 24, 2025 @10:01AM
(#44366369)
This is amazing! Thank you!!
The quickfix window is so small, so I added the "-c only" option to make it the only window that first pops up. Then made it a function so it's easier to call:
```
vgrep() {
rg --vimgrep "$1" | vim -c cb! -c copen -c only -
}
```
The quickfix window is so small, so I added the "-c only" option to make it the only window that first pops up. Then made it a function so it's easier to call:
``` vgrep() { rg --vimgrep "$1" | vim -c cb! -c copen -c only - } ```
$> vgrep "restore_tool"