X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/2034c72e12562eda33ce53d92cfef2216b6fcf3e..39abcad88c47cc5971cc5f2e9f7696d432316038:/less.plp?ds=sidebyside
diff --git a/less.plp b/less.plp
index 52ca471..8d88a91 100644
--- a/less.plp
+++ b/less.plp
@@ -11,7 +11,6 @@ Html({
less sheet cheat keys pager more
shortkey reference keyboard commands options overview
'],
- charset => $sign{charset},
stylesheet => [qw'light dark circus mono red terse'],
keys => 1,
});
@@ -21,31 +20,6 @@ Html({
normal pager (default)
-
-
-
- -
-
- - Esc alt<:=$sign{_}:>/meta
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
<:
use Shiar_Sheet::Keyboard 2;
my $info = do 'less.eng.inc.pl' or die $@;
@@ -54,42 +28,20 @@ my $keys = Shiar_Sheet::Keyboard->new($info);
$keys->map($get{map}) or undef $get{map};
$keys->print_rows($get{rows}, [1,0]);
:>
-
-
- - info
-
- Temporary message display (or related option).
-
- move
-
- Regular file position panning (or option).
-
- jump
-
- Other file position manipulation (").
-
- search
-
- Go to matching content (").
-
- file
-
- Alter open file buffer (").
-
- misc
-
- Other commands and options.
-
+<: $keys->print_legend('legend-types', [qw( ci pm po co mo mv )]) :>
-
- - key<:= $sign{arg} :>
-
- Commands with a dot need a char argument afterwards.
-
- more
-
- A small subset is compatible with `more`.
-
+<: $keys->print_legend('legend-options', [qw( arg more )]) :>
- 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' :>