X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/587ac438d1321ac08955a251401c06668a3d1ee9..2279bc9a6d42121149d1a4178cb4f29e73658332:/less.plp?ds=sidebyside
diff --git a/less.plp b/less.plp
index ce5ca14..f701ca8 100644
--- a/less.plp
+++ b/less.plp
@@ -2,7 +2,7 @@
Html({
title => 'less cheat sheet',
- version => 'v1.0',
+ version => 'v1.1',
description => [
"Default bindings of the less pager.",
"Clearly shows how much it's more than more.",
@@ -21,66 +21,24 @@ Html({
normal pager (default)
-
-
-
- -
-
- - Esc alt<:=$sign{_}:>/meta
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
<:
-use Shiar_Sheet::Keyboard;
-my $keys = Shiar_Sheet::Keyboard->new({do 'less.inc.pl'});
+use Shiar_Sheet::Keyboard 2;
+my $info = do 'less.eng.inc.pl' or die $@;
+$info->{def} = do 'less.inc.pl';
+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 )]) :>