Hacker News new | ask | show | jobs
by klaushougesen1 1715 days ago
or....use: https://github.com/junegunn/fzf

example:

  fzf --height 60% --layout=reverse --border  --preview 'bat {}'
gives you a nice fuzzy search interface and uses bat for previews

  brew install fzf bat
1 comments

This just searches filenames though. If you want to search the contents of the files, use something like ripgrep

https://github.com/junegunn/fzf#3-interactive-ripgrep-integr...