mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2025-01-24 15:48:27 +00:00
Clarification on accept-or-print-query vs. become
This commit is contained in:
parent
82954258c1
commit
e8b34cb00d
@ -9,6 +9,10 @@ CHANGELOG
|
|||||||
# You can make CTRL-R paste the current query when there's no match
|
# You can make CTRL-R paste the current query when there's no match
|
||||||
export FZF_CTRL_R_OPTS='--bind enter:accept-or-print-query'
|
export FZF_CTRL_R_OPTS='--bind enter:accept-or-print-query'
|
||||||
```
|
```
|
||||||
|
- Note that this new action isn't fundamentally different from the following `become` binding. `become` is apparently more versatile but it's not available on Windows.
|
||||||
|
```sh
|
||||||
|
export FZF_CTRL_R_OPTS='--bind "enter:become:if [[ -n {} ]]; then echo {}; else echo {q}; fi"'
|
||||||
|
```
|
||||||
- Bug fixes
|
- Bug fixes
|
||||||
|
|
||||||
0.44.1
|
0.44.1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user