Skip to main content
Bounty Awarded with 300 reputation awarded by eyal karni
added 320 characters in body
Source Link
Vivian De Smedt
  • 24.9k
  • 5
  • 29
  • 48

:Telescope live_grep is supposed to do that:

  • Live search on files
  • Filtering out the .gitignore

For searching for file contentThe telescope-live-grep-args provides:

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

For searching for file content I recommend usingpersonally use the plugin 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.

:Telescope live_grep is supposed to do that:

  • Live search on files
  • Filtering out the .gitignore

For searching for file content:

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

I recommend using the plugin CtrlSF

e.g.:

:CtrlSF -T py foo 

Search for foo in all the Python files.

: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.

added 275 characters in body
Source Link
Vivian De Smedt
  • 24.9k
  • 5
  • 29
  • 48

:Telescope live_grep is supposed to do that:

  • Live search on files
  • Filtering out the .gitignore

For searching for file content:

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

I recommend using the plugin CtrlSF

e.g.:

:CtrlSF -T py foo 

Search for foo in all the Python files.

:Telescope live_grep is supposed to do that:

  • Live search on files
  • Filtering out the .gitignore

:Telescope live_grep is supposed to do that:

  • Live search on files
  • Filtering out the .gitignore

For searching for file content:

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

I recommend using the plugin CtrlSF

e.g.:

:CtrlSF -T py foo 

Search for foo in all the Python files.

deleted 10 characters in body
Source Link
Vivian De Smedt
  • 24.9k
  • 5
  • 29
  • 48

I suppose :Telescope live_grep is supposed to do that:

  • liveLive search on files
  • filteringFiltering out the .gitignore

I suppose :Telescope live_grep is supposed to do that:

  • live search on files
  • filtering out the .gitignore

:Telescope live_grep is supposed to do that:

  • Live search on files
  • Filtering out the .gitignore
Source Link
Vivian De Smedt
  • 24.9k
  • 5
  • 29
  • 48
Loading