Hacker News new | ask | show | jobs
by CalChris 1601 days ago
I have a shell alias/function variations of which I've used for decades. This is the zsh version:

  function fvi { grep -rl $1 . | xargs nvim +/$1 }
It greps a directory recursively and opens files which have a pattern and puts the pattern in the search buffer.
1 comments

very cool!