ADVANCED.md: Clarification on {q}

This commit is contained in:
Junegunn Choi 2021-04-07 07:11:16 +09:00
parent b209843545
commit a6cc05936e
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

View File

@ -338,6 +338,7 @@ IFS=: read -ra selected < <(
Otherwise, the initial Ripgrep process will keep consuming system resources Otherwise, the initial Ripgrep process will keep consuming system resources
even after `reload` is triggered. even after `reload` is triggered.
- Filtering is no longer a responsibitiliy of fzf; hence `--disabled` - Filtering is no longer a responsibitiliy of fzf; hence `--disabled`
- `{q}` in the reload command evaluates to the query string on fzf prompt.
- `sleep 0.1` in the reload command is for "debouncing". This small delay will - `sleep 0.1` in the reload command is for "debouncing". This small delay will
reduce the number of intermediate Ripgrep processes while we're typing in reduce the number of intermediate Ripgrep processes while we're typing in
a query. a query.