Multiselect all #3543
-
With multiselect, I'd like to offer the option of selecting all or none. How can I configure fzf to provide these bindings? I notice that now if I immediately hit ENTER (without any TAB selections), this means select only one entry. It used to be that hitting ENTER would select none. Either something changed or I messed up my configuration. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The action seq 12 | fzf --bind 'tab:toggle-all'
If you don't want the ⏎ Enter key to print the selection and simply leave # exit status 130
fzf --bind 'enter:abort'
echo $?
# 130
# exit status 0
fzf --bind 'enter:become:'
echo $?
# 0 Footnotes |
Beta Was this translation helpful? Give feedback.
The action
toggle-all
accomplishes this. You can activate it by pressing ⇥ Tab with the following command.If you don't want the ⏎ Enter key to print the selection and simply leave
fzf
, you can useabort
orbecome:
1. Seeman fzf
for details.Footnotes
release 38 ↩