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

4 lines
112 B
Fish
Raw Normal View History

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