Please review my paragraphs where I rephrase this section https://github.com/ibhagwan/fzf-lua/wiki#grep-vs-live-grep
---
`grep` and `live_grep` are two search commands of `fzf-lua` that look quite similar. The difference between them is that: `grep` is a two-phrase search, while `live_grep` is an one-phrase search.
As regards `grep`, the first step is to search for a `rg`'s pattern, and then feed the results to `fzf`. Then `fzf` will launch a finder dialogue. Then we start the second step by typing in that dialogue, which essentially means we do a `fzf`'s fuzzy search to further refine the results of our first step.
On the other hand, `live_grep` does only `rg` searches. First, to begin searching, `live_grep` launches `fzf`'s finder dialogue. When we enter search terms in that dialogue, instead of doing fuzzy searches, `fzf` will make a new `rg` search on each keystroke. That is where the name `live_grep` comes from, we constantly do a new `rg` (that is, `grep`) search on every keystroke.
So, we use `grep` when we are 100 percent sure about our `rg`'s pattern, and we want to refine the results with a fuzzy search. In contrast, if we are not sure about our `rg`'s pattern, we use `live_grep`.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.