ctrl-g in dayview

This commit is contained in:
Ämin Baumeler 2025-06-13 15:44:11 +02:00
parent 7ed2df2399
commit e09c38ee29

View File

@ -989,7 +989,7 @@ while true; do
--with-nth='{6}' \
--accept-nth='1,2,3,4,5' \
--preview="$0 --preview-event {}" \
--expect="ctrl-n,ctrl-alt-d,ctrl-t,esc,backspace,q" \
--expect="ctrl-n,ctrl-alt-d,ctrl-t,ctrl-g,esc,backspace,q" \
--bind="load:pos(1)+transform(
echo change-border-label:🗓️ \$(date -d {1} +\"%A %e %B %Y\")
)+transform(
@ -1027,6 +1027,8 @@ while true; do
__delete "$fpath"
__refresh_data
set -- "--day" "$DISPLAY_DATE"
elif [ "$key" = "ctrl-g" ]; then
set -- "--goto"
elif [ "$key" = "ctrl-t" ]; then
set -- "--set-tz" "--day" "$DISPLAY_DATE"
elif [ "$key" = "esc" ] || [ "$key" = "backspace" ] || [ "$key" = "q" ]; then