dotfiles/fish/.config/fish/functions/rgc.fish

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

4 lines
347 B
Fish
Raw Normal View History

function rgc --description 'Search within a file with ripgrep with context'
rg --color never -C 10 --context-separator="---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------" $argv | nvim -R
end