6 lines
185 B
Fish
6 lines
185 B
Fish
function rfc --description 'Search for string in RFC documents and open'
|
|
if test -e ~/rfc
|
|
rg --files-with-matches $argv ~/rfc | fzf | read -l result
|
|
nvim -R $result
|
|
end
|
|
end
|