dotfiles/fish/.config/fish/functions/rfc.fish

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

7 lines
217 B
Fish
Raw Normal View History

function rfc --description 'Search for string in RFC documents and open'
if test -e ~/rfc
rg --files-with-matches $argv ~/rfc | fzf --preview='less {}' | read -l result
nvim -R $result
end
end