X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/eeaaa3c862485faf9f26c5646b2c9e94d03657ab..a6bf5822695c1e3608f1692398d47e28a9623a79:/mutt.plp?ds=sidebyside
diff --git a/mutt.plp b/mutt.plp
index 62c2fc1..57f1f13 100644
--- a/mutt.plp
+++ b/mutt.plp
@@ -1,56 +1,3 @@
-<(common.inc.plp)><:
-
-Html({
- title => 'mutt cheat sheet',
- version => 'v1.1',
- description => [
- "Cheat sheet for the Mutt e-mail client,",
- "showing the default binding for each key.",
- ],
- keywords => [qw'
- mutt MUA email client sheet cheat reference overview commands keyboard
- '],
- charset => $sign{charset},
- stylesheet => [qw'light dark circus mono red terse'],
- keys => 1,
-});
-
-:>
-
Mutt cheat sheet
-
-index (default)
-
<:
-use Shiar_Sheet::Keyboard 2;
-my $info = do 'mutt.eng.inc.pl' or die $@;
-$info->{def} = do 'mutt.inc.pl';
-my $keys = Shiar_Sheet::Keyboard->new($info);
-$keys->map($get{map}) or undef $get{map};
-$keys->print_rows($get{rows});
-:>
-
-
-
-
-
-<: $keys->print_legend('legend-types', [qw( ci pm po co mi mo mv me )]) :>
-
-
-
-<: $keys->print_legend('legend-options', [qw( arg )]) :>
-
-
- - keyboard map is
- <:= $get{map} ? 'set to ' : '' :><:= $keys->{map} :>
-
- ascii mode is
- <:= defined $sign{-ascii} && 'forced ' :><:=
- $sign{-ascii} ? 'on' : 'off' :>
-
- keys are
- <:= $showkeys ? 'always shown' : 'hidden if unassigned' :><:=
- !exists $get{keys} && ' by default' :>
-
- default style is
- <:= defined $get{style} && 'set to ' :><:= $style :>
-
-
-
-
+$Request = 'mutt';
+Include 'keyboard.plp';