common: bump version to 1.11
[sheet.git] / less.plp
1 <(common.inc.plp)><:
2
3 Html({
4         title => 'less cheat sheet',
5         version => '1.1',
6         description => [
7                 "Default bindings of the less pager.",
8                 "Clearly shows how much it's more than more.",
9         ],
10         keywords => [qw'
11                 less sheet cheat keys pager more
12                 shortkey reference keyboard commands options overview
13         '],
14         stylesheet => [qw( light dark circus mono red )],
15         keys => 1,
16 });
17
18 :>
19 <h1>Less cheat sheet</h1>
20
21 <h2>normal pager (default)</h2>
22
23 <:
24 use Shiar_Sheet::Keyboard 2.07;
25 my $info = do 'less.eng.inc.pl' or die $@;
26 my $keys = Shiar_Sheet::Keyboard->new($info);
27 $keys->map($get{map}) or undef $get{map};
28 $keys->print_rows($get{rows}, [1,0]);
29 $keys->print_legends(\%get);
30