X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/504fe3dc4ec761922a00398fe5811f08fafbde41..57f5500ad83e99bc45d035fc7614c8fc9784f061:/less.plp
diff --git a/less.plp b/less.plp
index 1b42723..52cc5f1 100644
--- a/less.plp
+++ b/less.plp
@@ -2,7 +2,7 @@
Html({
title => 'less cheat sheet',
- version => 'v1.1',
+ version => '1.1',
description => [
"Default bindings of the less pager.",
"Clearly shows how much it's more than more.",
@@ -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,
});
@@ -34,36 +33,15 @@ $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', ['g1' .. 'g4', 'g7', 'g8']) :>
-
- - 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' :>