X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/6d38d53c6cacbb5dabe6dc663c500d8ef8bb62d0..v1.10-46-g4c43bcbed6:/mutt.plp?ds=inline
diff --git a/mutt.plp b/mutt.plp
index 3ce3d02..3ab95a0 100644
--- a/mutt.plp
+++ b/mutt.plp
@@ -2,7 +2,7 @@
Html({
title => 'mutt cheat sheet',
- version => 'v1.1',
+ version => '1.2',
description => [
"Cheat sheet for the Mutt e-mail client,",
"showing the default binding for each key.",
@@ -10,8 +10,7 @@ Html({
keywords => [qw'
mutt MUA email client sheet cheat reference overview commands keyboard
'],
- charset => $sign{charset},
- stylesheet => [qw'light dark circus mono red terse'],
+ stylesheet => [qw( light dark circus mono red )],
keys => 1,
});
@@ -20,54 +19,27 @@ Html({
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});
:>
-
-
- - aside
-
- Temporarily display something without changing state.
-
- select
-
- Scroll list and/or select a different line.
-
- search
-
- Go to a specific message entry.
-
- edit
-
- Modify message flags or contents.
-
- command
-
- Any other action which does not alter an existing message.
-
- send
-
- Prepare and/or send a (new) message.
-
- leave
-
- Exit the opened folder.
-
- display
-
- Permanently alter/toggle current view.
-
+<: $keys->print_legend('legend-types', ['g1' .. 'g4', 'g6' .. 'g9']) :>
-
- - key<:= $sign{arg} :>
-
- Commands with a dot need an argument afterwards.
-
+<: $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' :>