X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/881b4a69e47004c59f35979620b65fd3d4aaaf16..85b2e04d887f4d328d8991b4834a52fba3187426:/keyboard.plp diff --git a/keyboard.plp b/keyboard.plp index 3628ac3..cd75090 100644 --- a/keyboard.plp +++ b/keyboard.plp @@ -1,117 +1,60 @@ <(common.inc.plp)><: - our $VERSION = 'v1.0'; - use Shiar_Sheet::KeySigns qw(%sign); - -:> - +Html({ + title => 'keyboard cheat sheet', + version => '1.0', + stylesheet => [qw( light dark circus mono red )], + keys => 1, +}); - - -keyboard 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'; :> - - - -

keyboard cheat sheet

normal mode (default)

- - -
- -
-
-
-
info -
Info command: shows/does something without altering anything. -
motion -
positioning -
Other movement (jumps, window (re)positioning). -
command -
Direct action command. -
ins mode -
Enters Insert or Replace mode. -
mode -
Enters a different mode. -
vis mode -
Enters Visual or Select mode. -
key cmd -
Additional key commands (click for overview). -
-
- -
-
-
- - -
-
- - +$keys->print_legends(\%get); -