charset: check ucplanes for modification date
[sheet.git] / less.plp
index 1b427237e66d59d7bf623280df2845a00b0e4bd5..52cc5f11cf10f3a8c271bcfd1efffbacede3174f 100644 (file)
--- 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]);
 
 <div class="help">
        <div class="left">
-               <dl class="legend legend-types">
-               <dt class="ci">info
-                       <dd>Temporary message display (or related option).
-               <dt class="pm">move
-                       <dd>Regular file position panning (or option).
-               <dt class="po">jump
-                       <dd>Other file position manipulation (").
-               <dt class="co">search
-                       <dd>Go to matching content (").
-               <dt class="mo">file
-                       <dd>Alter open file buffer (").
-               <dt class="mv">misc
-                       <dd>Other commands and options.
-               </dl>
+<: $keys->print_legend('legend-types', ['g1' .. 'g4', 'g7', 'g8']) :>
        </div>
 
        <div class="right">
-               <dl class="legend legend-options">
-               <dt>key<:= $sign{arg} :>
-                       <dd>Commands with a dot need a char argument afterwards.
-               <dt class="more">more
-                       <dd>A small subset is compatible with `more`.
-               </dl>
+<: $keys->print_legend('legend-options', [qw( arg more )]) :>
 
                <ul class="legend legend-set">
                <li>keyboard <strong>map</strong> is
                        <:= $get{map} ? 'set to ' : '' :><em><:= $keys->{map} :></em>
-               <li><strong>ascii</strong> mode is
-                       <:= defined $sign{-ascii} && 'forced ' :><em><:=
-                               $sign{-ascii} ? 'on' : 'off' :></em>
                <li><strong>keys</strong> are
                        <em><:= $showkeys ? 'always shown' : 'hidden if unassigned' :></em><:=
                                !exists $get{keys} && ' by default' :>