Skip to main content
4 of 4
added 320 characters in body
Vivian De Smedt
  • 24.9k
  • 5
  • 29
  • 48

:Telescope live_grep is supposed to do that:

  • Live search on files
  • Filtering out the .gitignore

The telescope-live-grep-args provides:

  • Live search on files (bringing result while searching)
  • Passing arguments to the underlying rg and in particular the -g and -g! argument that allow filtering against file patterns.

For searching for file content I personally use the CtrlSF plugin that provides:

  • Live search on files (bringing result while searching)
  • Restricting on some file type

e.g.:

:CtrlSF -T py foo 

Search for foo in all the Python files.

Vivian De Smedt
  • 24.9k
  • 5
  • 29
  • 48