X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/0d5846dfec3999dcb317d7d0f4f0c4eaf95ca794..f22a9debc2c3c50828c31ff028057734a4aadea6:/readline.plp?ds=sidebyside diff --git a/readline.plp b/readline.plp index ded1709..cc70d05 100644 --- a/readline.plp +++ b/readline.plp @@ -1,33 +1,21 @@ <(common.inc.plp)><: - our $VERSION = 'v1.0'; - use Shiar_Sheet::KeySigns qw(%sign); # dependant on $get{ascii} +Html({ + title => 'readline cheat sheet', + version => 'v1.0', + description => [ + "Reference sheet of default key bindings for GNU readline,", + "used in line-editing in most Unix software, notably emacs and bash.", + ], + keywords => [qw' + readline gnu bash emacs sheet cheat reference overview keyboard editing curses + '], + charset => $sign{charset}, + stylesheet => [qw'light dark circus mono red terse'], + keys => 1, +}); - $header{content_type} = "text/html; charset=$sign{charset}"; - -:> - - - - -readline 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'; :> - - - - -

readline cheat sheet

default emacs mode

@@ -95,14 +83,3 @@ $keys->print_rows($get{rows} || '^x=213', [4,3,2]); - - -