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