X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/f63a57e71a3aed6fe5e80ca979186e3bd6c7eb6b..81aefba6ac586eccbe18b4e90efc175e34fff5ad:/vimperator.plp diff --git a/vimperator.plp b/vimperator.plp index 586801b..46bcf6e 100644 --- a/vimperator.plp +++ b/vimperator.plp @@ -1,93 +1,49 @@ <(common.inc.plp)><: - our $VERSION = 'v1.0'; - use Shiar_Sheet::KeySigns qw(%sign); +Html({ + title => 'vimperator cheat sheet', + version => '1.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 + '], + 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', ['g1' .. 'g9']) :>
-
-
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 )]) :>
- - -