diff options
| author | 2026-04-01 16:50:49 +0000 | |
|---|---|---|
| committer | 2026-05-11 11:47:18 +0000 | |
| commit | e1a7851c5e98e226724402b67f0d971b0b3e1551 (patch) | |
| tree | 5d39e13be3df6629fd68b15933afbe9f14b50019 | |
| parent | d245165264a727d0eb84ec9e37d9ed97174652a8 (diff) | |
função pra vimgrep
| -rw-r--r-- | fish/functions/rvg.fish | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fish/functions/rvg.fish b/fish/functions/rvg.fish new file mode 100644 index 0000000..ba85eb3 --- /dev/null +++ b/fish/functions/rvg.fish @@ -0,0 +1,7 @@ +function rvg --wraps=rg --description 'ripvimgrep, a wrapper for ripgrep(1) to use vimgrep' + if not command --query rg + return 127 + end + + command rg --vimgrep $argv +end |
