less portable, stripped down version of tag, also uses a larger (64MiB vs 64KiB) buffer for readline.
go install go.seankhliao.com/t@latest
requires ripgrep
function t() {
command t -i "$@"
source /tmp/t_aliases 2>/dev/null
}
$ t func
main.go
[1] 18:1:func main() {
README.md
[2] 14:1:function t() {
# opens first link with nvim
$ e1
- replace
bufio.Reader
with https://godoc.org/golang.org/x/text/transform