mless: add { }/$ to jump to first/last message

pull/82/head
Leah Neukirchen 6 years ago
parent a07be8d7c8
commit 4bf38b9751

@ -76,6 +76,9 @@ while :; do
"+:e $(mscan -n .)$nl" //scan $(mscan -n :) "+:e $(mscan -n .)$nl" //scan $(mscan -n :)
case "$?" in case "$?" in
0|1) exit $?;; 0|1) exit $?;;
36) # $ goto end
mseq -C '$' 2>/dev/null
;;
78) # N go to next unseen message 78) # N go to next unseen message
nu=$(magrep -v -m1 :S .:) && mseq -C "$nu" nu=$(magrep -v -m1 :S .:) && mseq -C "$nu"
;; ;;

@ -4,6 +4,9 @@ Q quit \1
:cq quit \1 :cq quit \1
[ prev-file [ prev-file
] next-file ] next-file
{ noaction E1\n
} quit $
$ quit $
S noaction E//scan\n S noaction E//scan\n
` noaction E\#\n ` noaction E\#\n
H quit H H quit H

Loading…
Cancel
Save