4 title => 'mutt cheat sheet',
7 "Cheat sheet for the Mutt e-mail client,",
8 "showing the default binding for each key.",
11 mutt MUA email client sheet cheat reference overview commands keyboard
13 charset => $sign{charset},
14 stylesheet => [qw'light dark circus mono red terse'],
19 <h1>Mutt cheat sheet</h1>
21 <h2>index (default)</h2>
24 use Shiar_Sheet::Keyboard 2;
25 my $info = do 'mutt.eng.inc.pl' or die $@;
26 $info->{def} = do 'mutt.inc.pl';
27 my $keys = Shiar_Sheet::Keyboard->new($info);
28 $keys->map($get{map}) or undef $get{map};
29 $keys->print_rows($get{rows});
36 <: $keys->print_legend('legend-types', [qw( ci pm po co mi mo mv me )]) :>
40 <: $keys->print_legend('legend-options', [qw( arg )]) :>
42 <ul class="legend legend-set">
43 <li>keyboard <strong>map</strong> is
44 <:= $get{map} ? 'set to ' : '' :><em><:= $keys->{map} :></em>
45 <li><strong>ascii</strong> mode is
46 <:= defined $sign{-ascii} && 'forced ' :><em><:=
47 $sign{-ascii} ? 'on' : 'off' :></em>
48 <li><strong>keys</strong> are
49 <em><:= $showkeys ? 'always shown' : 'hidden if unassigned' :></em><:=
50 !exists $get{keys} && ' by default' :>
51 <li>default <strong>style</strong> is
52 <:= defined $get{style} && 'set to ' :><em><:= $style :></em>