From 8c62b3e7c9fdfd366c348fca3203811244f8e203 Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Tue, 23 Jan 2024 22:20:07 +0100 Subject: [PATCH] mutt: new bindings since 2009 from changelogs --- keyboard/mutt.eng.inc.pl | 63 +++++++++++++++++++++++++++++++--------- 1 file changed, 50 insertions(+), 13 deletions(-) diff --git a/keyboard/mutt.eng.inc.pl b/keyboard/mutt.eng.inc.pl index 0cf57e2..4c94c09 100644 --- a/keyboard/mutt.eng.inc.pl +++ b/keyboard/mutt.eng.inc.pl @@ -60,9 +60,9 @@ my %commondef = ( { title => 'Mutt', -version => '1.2', +version => '1.3', description => [ - "Cheat sheet for the Mutt e-mail client,", + "Cheat sheet for the Mutt v2.2 e-mail client,", "showing the default binding for each key.", ], keywords => [qw' mutt MUA email client '], @@ -77,6 +77,10 @@ key => { '#' => "split up thread", '&' => "thread tagged", '%' => "toggle reado<>nl<>y", + '-' => "collapse thread", + '_' => "collapse all", + "'" => "marked mes<>sag<>e", + '~' => "save mark", 'a' => "create alias", 'b' => "bounce", @@ -99,6 +103,7 @@ key => { 'g' => "reply to all\nGroup reply", 'G' => "fetch POP\nGather new mail", 'h' => "toggle headers", + 'i' => "fetch IMAP", '^i'=> "unread msg ", '+^i'=> "unread msg ", 'j' => "messag<>e ", @@ -109,7 +114,8 @@ key => { '+k'=> "send public key", 'l' => "limit pattern", 'L' => "reply to list", - '+l'=> "show current limit", + '+l'=> "mlist actions", + #'+l'=> "show current limit", 'm' => "compo<>s<>e mail", 'N' => "toggle new", '^n'=> "thread ", @@ -144,12 +150,14 @@ key => { 'W' => "clear flag", 'x' => "abort", 'y' => "list incoming mailboxes", + 'Y' => "edit label", (map { 'm'.$_ => $commonkey{$_} } keys %commonkey), 'm|' => "pipe attach<>m<>ent", 'ma' => "attach file", 'mA' => "attach messag<>e", + 'm^b'=> "url<>view", 'mb' => "edit bcc", 'mc' => "edit cc", 'mC' => "copy file", @@ -166,22 +174,30 @@ key => { 'mG' => "get attach<>m<>ent", 'mh' => "display message", 'mi' => "run ispell", + 'm+k'=> "attach PGP key", 'ml' => "print attach<>m<>ent", 'mm' => "edit attach<>m<>ent\nMime-appropriate open", 'mM' => "edit mix", 'm^m'=> "view attach<>m<>ent", 'mn' => "new attach<>m<>ent", + 'mo' => "autocrypt toggle", #TODO + 'm^o'=> "rename attach<>m<>ent", + 'mp' => "PGP menu", 'mP' => "post<>pone", 'mr' => "edit reply<>-to", 'mR' => "rename attach<>m<>ent", 'ms' => "edit subject", 'mS' => "s/mime options", 'mt' => "edit to", + 'mT' => "enter tags", #TODO 'm^t'=> "ctype attach<>m<>ent", - 'mw' => "copy to folder", 'mu' => "unlink toggle", + 'mv' => "preview alt fil<>t<>er", # m+v mV + 'mV' => "preview mailcap filter", + 'mw' => "copy to folder", 'mU' => "encode attach<>m<>ent", 'my' => "send", + # ^xe 'wD' => "deleted", 'wN' => "new", @@ -210,6 +226,7 @@ key => { '/~L' => "receiv<>d by", '/~l' => "mailing list", '/~m' => "num<>ber ran<>g<>e", + '/~M' => "mime type", '/~n' => "score range", '/~N' => "new", '/~O' => "old", @@ -233,6 +250,8 @@ key => { '/~=' => "dupli<>cate", '/~$' => "unrefer<>enced", '/~(' => "in thread", + '/~<' => "parent match", + '/~>' => "child match", # globally label escape as meta key "\e"=> "+", @@ -245,7 +264,7 @@ mode => { '' => 'index', 'm' => 'compose (m)', w => 'message flags (w)', - '/~' => 'search flags (/~)', + '/~' => 'search patterns (/~)', }, flag => { @@ -272,6 +291,10 @@ def => { '#' => 'g4', # break-thread '&' => 'g4', # link-threads '%' => 'g4', # toggle-write + '-' => 'g9', + '_' => 'g9', + '~' => 'g4 arg', # mark-message #TODO + "'" => 'g3 arg', ' ' => '=^m', 'a' => 'g6', # create-alias @@ -283,7 +306,7 @@ def => { '+c'=> 'g8', # change-folder-readonly '+C'=> undef, # decode-copy 'd' => 'g4', # delete-message - 'D' => 'g4 arg', # delete-pattern + 'D' => 'g4 arg mode/~', # delete-pattern '^d'=> 'g4', # delete-thread '+d'=> 'g4', # delete-subthread 'e' => 'g4 linkvi', # edit @@ -295,6 +318,7 @@ def => { 'g' => 'g7 modem', # group-reply 'G' => 'g6', # fetch-mail 'h' => 'g9', # display-toggle-weed + 'i' => 'g6', # imap-fetch-mail '^i'=> 'g3', # next-new-then-unread '+^i'=> undef, # previous-new-then-unread 'j' => 'g2', # next-undeleted @@ -303,9 +327,9 @@ def => { 'K' => 'g3', # previous-entry '^k'=> 'g1', # extract-keys '+k'=> 'g7 modem', # mail-key - 'l' => 'g9', # limit + 'l' => 'g9 arg mode/~', # limit 'L' => 'g7 modem', # list-reply - '+l'=> 'g1', # show-limit + '+l'=> 'g1', # list-actions/show-limit 'm' => 'g7 modem', # mail 'N' => 'g4', # toggle-new '^n'=> 'g3', # next-thread @@ -325,11 +349,11 @@ def => { '+r'=> 'g4', # read-subthread 's' => 'g4', # save-message '+s'=> 'g4', # decode-save - 'T' => 'g4 arg', # tag-pattern - '^t'=> 'g4', # untag-pattern + 'T' => 'g4 arg mode/~', # tag-pattern + '^t'=> 'g4 arg mode/~', # untag-pattern '+t'=> 'g4', # tag-thread 'u' => 'g4', # undelete-message - 'U' => 'g4 arg', # undelete-pattern + 'U' => 'g4 arg mode/~', # undelete-pattern '^u'=> 'g4', # undelete-thread '+u'=> 'g4', # undelete-subthread 'v' => 'g1', # view-attachments @@ -340,15 +364,17 @@ def => { 'W' => 'g4 arg modew', # clear-flag 'x' => 'g8', # exit 'y' => 'g8', # M ? + 'Y' => 'g4 arg', # edit-label }, # index 'm' => { %commondef, '|' => 'g4', - 'a' => 'g6', - 'A' => 'g6', + 'a' => 'g4', + 'A' => 'g4', 'b' => 'g4', + '^b'=> 'g1', 'c' => 'g4', 'C' => 'g6', 'd' => 'g4', @@ -364,20 +390,28 @@ def => { 'G' => 'g1', 'h' => 'g1', 'i' => 'g6', + '+k'=> 'g4', 'l' => 'g1', 'm' => 'g4', 'M' => 'g4', '^m'=> 'g1', 'n' => 'g6', + 'o' => 'g4 ext', + '^o'=> 'g4', + 'p' => 'g1', #TODO 'P' => 'g8 mode', 'r' => 'g4', 'R' => 'g4', 's' => 'g4', 'S' => 'g4 menumS', 't' => 'g4', + 'T' => 'g4', '^t'=> 'g4', 'w' => 'g6', 'u' => 'g6', + 'v' => 'g1', + '+v'=> 'g1', + 'V' => 'g1', 'U' => 'g4', 'y' => 'g7', }, # compose @@ -418,6 +452,7 @@ def => { L => 'g3 arg', l => 'g3', m => 'g3 arg', + M => 'g3 arg', n => 'g3 arg', N => 'g3', O => 'g3', @@ -441,6 +476,8 @@ def => { '=' => 'g3', '$' => 'g3', '(' => 'g3 arg', + '<' => 'g3 arg', + '>' => 'g3 arg', }, # search option }, } -- 2.30.0