Skip to content

Instantly share code, notes, and snippets.

@b-wind
Last active March 1, 2018 07:44
Show Gist options
  • Save b-wind/1c6d12e7cf4aae5c661c24321593b883 to your computer and use it in GitHub Desktop.
Save b-wind/1c6d12e7cf4aae5c661c24321593b883 to your computer and use it in GitHub Desktop.
function rgless {
less $(rg --line-number "$@" | peco | awk -F : '{print "+" $2 " " $1}')
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment