keys: invert background letter colour in dark style
[sheet.git] / vimperator.plp
1 <(common.inc.plp)><:
2
3 Html({
4         title => 'vimperator cheat sheet',
5         version => '1.2',
6         description => [
7                 "Interactive cheat sheet for the Vimperator (or Pentadactyl)",
8                 "Firefox extension, describing the function of each key.",
9         ],
10         keywords => [qw'
11                 vimperator firefox pentadactyl vim sheet cheat reference overview
12                 commands keyboard browser vimfx vimium cvim
13         '],
14         stylesheet => [qw( light dark circus mono red )],
15         keys => 1,
16 });
17
18 :>
19 <h1>Vimperator cheat sheet</h1>
20
21 <h2>normal mode (default)</h2>
22
23 <:
24 use Shiar_Sheet::Keyboard 2.07;
25 my $info = do 'vimperator.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});
29 $keys->print_legends(\%get);
30