X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/e98b059d1f6bbd6ac8ca06de152959536e4b98b0..133e96335267b12bb7e97d9bbe551a3a043bd32a:/mutt.plp?ds=inline
diff --git a/mutt.plp b/mutt.plp
index a92de4a..57f1f13 100644
--- a/mutt.plp
+++ b/mutt.plp
@@ -1,113 +1,3 @@
<:
-use utf8;
-use strict;
-use warnings;
-no warnings 'qw'; # you know what you doing
-no warnings 'uninitialized'; # save some useless checks for more legible code
-
-use Shiar_Sheet::KeySigns qw(%sign);
-
-our $VERSION = 'v1.0';
-
-$header{content_type} = "text/html; charset=$sign{charset}";
-
-:>
-
-
-
-mutt cheat sheet
-
-
-
-<:
- my %styles = map {$_ => $_} qw(dark circus mono red terse);
- our $style = exists $get{style} && $styles{$get{style}} || 'light';
- printf(qq{\n},
- $_ eq $style ? 'stylesheet' : 'alternate stylesheet', "$_.css", $_
- ) for keys %styles;
-
- our $showkeys = exists $get{keys} && $get{keys} ne '0';
- print "\n".'' unless $showkeys;
- print "\n".''
- if $showkeys and $get{keys} eq 'ghost';
-:>
-
-
-
-
-Mutt cheat sheet
-
-index (default)
-
-
-
--
-
-
-
-<:
-use Shiar_Sheet::Keyboard;
-my $keys = Shiar_Sheet::Keyboard->new({do 'mutt.inc.pl'});
-$keys->map($get{map}) or undef $get{map};
-$keys->print_rows($get{rows});
-:>
-
-
-
-
-
-
-
- - aside
-
- Temporarily display something without changing state.
-
- select
-
- Scroll list and/or select a different line.
-
- search
-
- Go to a specific message entry.
-
- edit
-
- Modify message flags or contents.
-
- command
-
- Any other action which does not alter an existing message.
-
- send
-
- Prepare and/or send a (new) message.
-
- leave
-
- Exit the opened folder.
-
- display
-
- Permanently alter/toggle current view.
-
-
-
-
-
- - key<:= $sign{arg} :>
-
- Commands with a dot need an argument afterwards.
-
-
-
- - keyboard map is
- <:= $get{map} ? 'set to ' : '' :><:= $keys->{map} :>
-
- ascii mode is
- <:= defined $sign{-ascii} && 'forced ' :><:=
- $sign{-ascii} ? 'on' : 'off' :>
-
- keys are
- <:= $showkeys ? 'always shown' : 'hidden if unassigned' :><:=
- !exists $get{keys} && ' by default' :>
-
- default style is
- <:= defined $get{style} && 'set to ' :><:= $style :>
-
-
-
-
-
-
-
+$Request = 'mutt';
+Include 'keyboard.plp';