X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/f850d8bca38d6f025cd26b62b6e5504dd4d77ad1..84f6f39be4ffeb6307756b97126ad993bef367a8:/vimperator.plp diff --git a/vimperator.plp b/vimperator.plp index ca4e673..3493d84 100644 --- a/vimperator.plp +++ b/vimperator.plp @@ -1,84 +1,46 @@ <(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)

-
-
-
info -
Displays something without any permanent consequences. -
motion -
Move cursor, scroll window, focus buffer element. -
tab -
Tab or window navigation/selection. -
buffer -
Page interaction. -
open -
Browse to a location in the current tab. -
tab open -
Browse somewhere in a new tab. -
browser -
Other browser action. -
mode -
Enter a different mode. -
key cmd -
Additional key commands (click for overview). -
+<: $keys->print_legend('legend-types', [qw( ci pm po co cp mi mo mv me )]) :>
-
-
key<:= $sign{arg} :> -
Commands with a dot need a char argument afterwards. -
key<:= $sign{args} :> -
Commands with two dots require variable arguments afterwards. -
+<: $keys->print_legend('legend-options', [qw( arg args )]) :>
- - -