X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/881b4a69e47004c59f35979620b65fd3d4aaaf16..444ce9b79dad42e9f1c8082bcbfdc87f2aeca9b7:/vimperator.plp diff --git a/vimperator.plp b/vimperator.plp index 7d1b81c..bb4bd9a 100644 --- a/vimperator.plp +++ b/vimperator.plp @@ -2,7 +2,7 @@ Html({ title => 'vimperator cheat sheet', - version => 'v1.2', + version => '1.2', description => [ "Interactive cheat sheet for the Vimperator Firefox extension,", "describing the function of each key.", @@ -11,7 +11,7 @@ Html({ vimperator firefox vim iceweasel sheet cheat reference overview commands keyboard browser '], - stylesheet => [qw'light dark circus mono red terse'], + stylesheet => [qw( light dark circus mono red )], keys => 1, }); @@ -21,35 +21,12 @@ Html({

normal mode (default)

<: -use Shiar_Sheet::Keyboard 2; +use Shiar_Sheet::Keyboard 2.07; my $info = do 'vimperator.eng.inc.pl' or die $@; -$info->{def} = do 'vimperator.inc.pl'; $_->{"\e"} = ['mv mode', "normal mode"] for values %{ $info->{def} }; delete $info->{def}->{''}->{"\e"}; my $keys = Shiar_Sheet::Keyboard->new($info); $keys->map($get{map}) or undef $get{map}; $keys->print_rows($get{rows}); -:> - -
- -
-
-<: $keys->print_legend('legend-types', [qw( ci pm po co cp mi mo mv me )]) :> -
- -
-<: $keys->print_legend('legend-options', [qw( arg args )]) :> - - -
-
+$keys->print_legends(\%get);