Skip to content

Commit

Permalink
mless: add { }/$ to jump to first/last message
Browse files Browse the repository at this point in the history
  • Loading branch information
leahneukirchen committed Jan 7, 2018
1 parent a07be8d commit 4bf38b9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mless
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ while :; do
"+:e $(mscan -n .)$nl" //scan $(mscan -n :)
case "$?" in
0|1) exit $?;;
36) # $ goto end
mseq -C '$' 2>/dev/null
;;
78) # N go to next unseen message
nu=$(magrep -v -m1 :S .:) && mseq -C "$nu"
;;
Expand Down
3 changes: 3 additions & 0 deletions mlesskey.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ Q quit \1
:cq quit \1
[ prev-file
] next-file
{ noaction E1\n
} quit $
$ quit $
S noaction E//scan\n
` noaction E\#\n
H quit H
Expand Down

0 comments on commit 4bf38b9

Please sign in to comment.