keys: structure keyboard as html table
[sheet.git] / mutt.eng.inc.pl
1 use utf8;
2
3 my %common = (
4         'H' => ["screen top"],
5         'j' => ["entry $sign{down}"],
6         'k' => ["entry $sign{up}"],
7         'L' => ["screen bottom"],
8         '^l'=> ["redraw"],
9         'M' => ["screen middle"],
10         '^m'=> ["select"],
11         'n' => ["search $sign{down}"],
12         'q' => ["exit"],
13         't' => ["tag"],
14         'z' => ["page $sign{down}"],
15         'Z' => ["page $sign{up}"],
16         '*' => ["last entry"],
17         '=' => ["first entry"],
18         ':' => ["enter command"],
19         ';' => ["apply to tagged"],
20         '>' => ["line $sign{down}"],
21         '<' => ["line $sign{up}"],
22         ']' => ["half page $sign{down}"],
23         '[' => ["half page $sign{up}"],
24         '?' => ["help"],
25         '!' => ["invoke shell"],
26         '/' => ["search $sign{down}"],
27         '+/'=> ["search $sign{up}"],
28 );
29
30 {
31 key => {
32         %common,
33
34         '@' => ["display sender"],
35         '.' => ["list new mail"],
36         '|' => ["pipe to shell"],
37         '$' => ["save mailbox"],
38         '#' => ["split up thread"],
39         '&' => ["thread tagged"],
40         '%' => ["toggle reado$sign{_}nl$sign{_}y"],
41
42         'a' => ["create alias"],
43         'b' => ["bounce"],
44         '^b'=> ["url$sign{_}view"],
45         '+b'=> ["search bodies"],
46         'c' => ["open folder"],
47         'C' => ["copy messag$sign{_}e"],
48         '+c'=> ["open reado$sign{_}nly"],
49         '+C'=> ["make plain copy"],
50         'd' => ["delete"],
51         'D' => ["delete patt$sign{_}er$sign{_}n"],
52         '^d'=> ["delete thread"],
53         '+d'=> ["delete subthread"],
54         'e' => ["edit"],
55         '^e'=> ["edit con$sign{_}tent type"],
56         '+e'=> ["edit+send copy"],
57         'f' => ["forward"],
58         'F' => ["toggle important"],
59         '^f'=> ["forget pass$sign{_}phras$sign{_}e"],
60         'g' => ["reply to all", 'Group reply'],
61         'G' => ["fetch POP", 'Gather new mail'],
62         'h' => ["toggle headers"],
63         '^i'=> ["unread msg $sign{down}"],
64         '+^i'=> ["unread msg $sign{up}"],
65         'j' => ["messag$sign{_}e $sign{down}"],
66         'k' => ["messag$sign{_}e $sign{up}"],
67         'J' => ["any $sign{down}"],
68         'K' => ["any $sign{up}"],
69         '^k'=> ["extract pub keys"],
70         '+k'=> ["send public key"],
71         'l' => ["limit pattern"],
72         'L' => ["reply to list"],
73         '+l'=> ["show current limit"],
74         'm' => ["compo$sign{_}s$sign{_}e mail"],
75         'N' => ["toggle new"],
76         '^n'=> ["thread $sign{down}"],
77         '+n'=> ["subthr$sign{_}ead $sign{down}"],
78         'o' => ["sort"],
79         'O' => ["sort reverse"],
80         'p' => ["print"],
81         'P' => ["to parent"],
82         '^p'=> ["thread $sign{up}"],
83         '+p'=> ["subthr$sign{_}ead $sign{up}"],
84         '+P'=> ["check for pgp"],
85         'q' => ["quit"],
86         'Q' => ["query addr$sign{_}ess$sign{_}es"],
87         'r' => ["reply to sender"],
88         'R' => ["recall postpon$sign{_}e$sign{_}d"],
89         '^r'=> ["mark thread read"],
90         '+r'=> ["mark sub$sign{_}thread r$sign{_}ead"],
91         's' => ["move"],
92         '+s'=> ["save and delete"],
93         'T' => ["tag patt$sign{_}er$sign{_}n"],
94         '^t'=> ["untag pattern"],
95         '+t'=> ["tag thread"],
96         'u' => ["undo delete"],
97         'U' => ["res$sign{_}tore pat$sign{_}t$sign{_}er$sign{_}n"],
98         '^u'=> ["restore thread"],
99         '+u'=> ["restore subthread"],
100         'v' => ["attach$sign{_}ments"],
101         'V' => ["version"],
102         '+v'=> ["(un)collapse thread"],
103         '+V'=> ["(un)collapse threads"],
104         'w' => ["set flag"],
105         'W' => ["clear flag"],
106         'x' => ["abort"],
107         'y' => ["list incoming mailboxes"],
108
109         (map { 'm'.$_ => $common{$_} } keys %common),
110
111         'm|' => ["pipe attach$sign{_}m$sign{_}ent"],
112         'ma' => ["attach file"],
113         'mA' => ["attach messag$sign{_}e"],
114         'mb' => ["edit bcc"],
115         'mc' => ["edit cc"],
116         'mC' => ["copy file"],
117         'md' => ["desc$sign{_}ribe attach$sign{_}m$sign{_}ent"],
118         'mD' => ["delete attach$sign{_}m$sign{_}ent"],
119         'm^d'=> ["dispo$sign{_}sition tog$sign{_}gle"],
120         'me' => ["edit body"],
121         'mE' => ["edit all"],
122         'm^e'=> ["edit encoding"],
123         'mf' => ["edit fcc"],
124         'm^f'=> ["forget pass$sign{_}phrase"],
125         'm+f'=> ["edit from"],
126         'mF' => ["filter attach$sign{_}m$sign{_}ent"],
127         'mG' => ["get attach$sign{_}m$sign{_}ent"],
128         'mh' => ["display message"],
129         'mi' => ["run ispell"],
130         'ml' => ["print attach$sign{_}m$sign{_}ent"],
131         'mm' => ["edit attach$sign{_}m$sign{_}ent", 'Mime-appropriate open'],
132         'mM' => ["edit mix"],
133         'm^m'=> ["view attach$sign{_}m$sign{_}ent"],
134         'mn' => ["new attach$sign{_}m$sign{_}ent"],
135         'mP' => ["post$sign{_}pone"],
136         'mr' => ["edit reply$sign{_}-to"],
137         'mR' => ["rename attach$sign{_}m$sign{_}ent"],
138         'ms' => ["edit subject"],
139         'mS' => ["s/mime options"],
140         'mt' => ["edit to"],
141         'm^t'=> ["ctype attach$sign{_}m$sign{_}ent"],
142         'mw' => ["copy to folder"],
143         'mu' => ["unlink toggle"],
144         'mU' => ["encode attach$sign{_}m$sign{_}ent"],
145         'my' => ["send"],
146
147         'wD' => ["deleted"],
148         'wN' => ["new"],
149         'wO' => ["old"],
150         'wr' => ["replied"],
151         'w*' => ["tagged"],
152         'w!' => ["flagged"],
153
154         '/~A' => ["all"],
155         '/~b' => ["msg body"],
156         '/~B' => ["whole msg"],
157         '/~c' => ["cc address"],
158         '/~C' => ["to or cc address"],
159         '/~d' => ["date sent ran$sign{_}g$sign{_}e"],
160         '/~D' => ["deleted"],
161         '/~e' => ["sender"],
162         '/~E' => ["expired"],
163         '/~f' => ["from"],
164         '/~F' => ["flagged"],
165         '/~g' => ["signed"],
166         '/~G' => ["encryp$sign{_}ted"],
167         '/~h' => ["header"],
168         '/~H' => ["spam attr$sign{_}ib$sign{_}ute"],
169         '/~i' => ["msg id"],
170         '/~k' => ["pgp key"],
171         '/~L' => ["receiv$sign{_}d by"],
172         '/~l' => ["mailing list"],
173         '/~m' => ["num$sign{_}ber ran$sign{_}g$sign{_}e"],
174         '/~n' => ["score range"],
175         '/~N' => ["new"],
176         '/~O' => ["old"],
177         '/~p' => ["to you"],
178         '/~P' => ["by you"],
179         '/~Q' => ["replies"],
180         '/~r' => ["receive date ran$sign{_}ge"],
181         '/~R' => ["read"],
182         '/~s' => ["subject"],
183         '/~S' => ["super$sign{_}seded"],
184         '/~t' => ["to address"],
185         '/~T' => ["tagged"],
186         '/~u' => ["subscr$sign{_}ibed list"],
187         '/~U' => ["unread"],
188         '/~v' => ["collapsed thread"],
189         '/~V' => ["verified"],
190         '/~x' => ["refer$sign{_}ence"],
191         '/~X' => ["attach$sign{_}ments"],
192         '/~y' => ["x-label"],
193         '/~z' => ["size range"],
194         '/~=' => ["dupli$sign{_}cate"],
195         '/~$' => ["unrefer$sign{_}enced"],
196         '/~(' => ["in thread"],
197 },
198
199 mode => {
200         '' => 'index',
201         'm' => 'compose (m)',
202         w => 'message flags (w)',
203         '/~' => 'search flags (/~)',
204 },
205
206 flag => {
207         ci => [aside   => "Temporarily display something without changing state."],
208         pm => [select  => "Scroll list and/or select a different line."],
209         po => [search  => "Go to a specific message entry."],
210         co => [edit    => "Modify message flags or contents."],
211         mi => [command => "Any other action which does not alter an existing message."],
212         mo => [send    => "Prepare and/or send a (new) message."],
213         mv => [leave   => "Exit the opened folder."],
214         me => [display => "Permanently alter/toggle current view."],
215
216         arg => ["key$sign{arg}" => "Commands with a dot need an argument afterwards."],
217 },
218
219 }