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

3 lines
112 B
Fish

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