dotfiles/fish/.config/fish/functions/rgf.fish

4 lines
104 B
Fish

function rgf --description 'Search within a file with ripgrep'
rg --color never $argv | nvim -R
end