bug fix: recognize all-day events, improvment: view source with v
This commit is contained in:
@@ -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,ctrl-g,esc,backspace,q" \
|
||||
--expect="ctrl-n,ctrl-alt-d,ctrl-t,ctrl-g,esc,backspace,q,v" \
|
||||
--bind="load:pos(1)+transform(
|
||||
echo change-border-label:🗓️ \$(date -d {1} +\"%A %e %B %Y\")
|
||||
)+transform(
|
||||
@@ -1033,6 +1033,8 @@ while true; do
|
||||
set -- "--set-tz" "--day" "$DISPLAY_DATE"
|
||||
elif [ "$key" = "esc" ] || [ "$key" = "backspace" ] || [ "$key" = "q" ]; then
|
||||
set -- "--week" "$DISPLAY_DATE"
|
||||
elif [ "$key" = "v" ] && [ -f "$ROOT/$fpath" ]; then
|
||||
$EDITOR "$ROOT/$fpath"
|
||||
elif [ -z "$key" ] && [ -n "$fpath" ]; then
|
||||
__edit "$start" "$end" "$fpath"
|
||||
set -- "--day" "$DISPLAY_DATE"
|
||||
|
Reference in New Issue
Block a user