X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/f850d8bca38d6f025cd26b62b6e5504dd4d77ad1..0466f0c92a59e94455c8d149c3c84c39b315e2c6:/vimperator.plp diff --git a/vimperator.plp b/vimperator.plp index ca4e673..b54417d 100644 --- a/vimperator.plp +++ b/vimperator.plp @@ -1,30 +1,22 @@ <(common.inc.plp)><: - our $VERSION = 'v1.0'; - use Shiar_Sheet::KeySigns qw(%sign); +Html({ + title => 'vimperator cheat sheet', + version => 'v1.2', + description => [ + "Interactive cheat sheet for the Vimperator Firefox extension,", + "describing the function of each key.", + ], + keywords => [qw' + vimperator firefox vim iceweasel sheet cheat reference overview + commands keyboard browser + '], + charset => $sign{charset}, + stylesheet => [qw'light dark circus mono red terse'], + keys => 1, +}); - $header{content_type} = "text/html; charset=$sign{charset}"; - -:> - - - - -vimperator cheat sheet -<:= stylesheet(qw'light dark circus mono red terse') :> - -<: - our $showkeys = exists $get{keys} && $get{keys} ne '0'; - print "\n".'' - unless $showkeys; - print "\n".'' - if $showkeys and $get{keys} eq 'ghost'; :> - - - -

Vimperator cheat sheet

normal mode (default)

@@ -39,8 +31,10 @@ <: -use Shiar_Sheet::Keyboard; -my $keys = Shiar_Sheet::Keyboard->new({do 'vimperator.inc.pl'}); +use Shiar_Sheet::Keyboard 2; +my $info = do 'vimperator.eng.inc.pl' or die $@; +$info->{def} = do 'vimperator.inc.pl'; +my $keys = Shiar_Sheet::Keyboard->new($info); $keys->map($get{map}) or undef $get{map}; $keys->print_rows($get{rows}); :> @@ -95,14 +89,3 @@ $keys->print_rows($get{rows}); - - -