auto hide preview

This commit is contained in:
Ämin Baumeler 2025-06-11 13:22:36 +02:00
parent 9e59e7a923
commit 66ca05f744

View File

@ -405,6 +405,9 @@ if [ "${1:-}" = "--day" ]; then
--accept-nth='1,2,3,4' \
--preview="$0 --preview {}" \
--expect="ctrl-n,esc,backspace,q" \
--bind='load:hide-preview' \
--bind='ctrl-j:down+hide-preview+transform:echo {} | grep \|\| || echo show-preview' \
--bind='ctrl-k:up+hide-preview+transform:echo {} | grep \|\| || echo show-preview' \
--bind="ctrl-s:execute($SYNC_CMD ; printf 'Press <enter> to continue.'; read -r tmp)" \
--bind="ctrl-alt-d:become($0 --delete {})"
)