diff --git a/src/main.sh b/src/main.sh index 1f8bc8f..f8dbee4 100755 --- a/src/main.sh +++ b/src/main.sh @@ -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