4 title => 'keyboard cheat sheet',
6 stylesheet => [qw'light dark circus mono red terse'],
11 <h1>keyboard cheat sheet</h1>
13 <h2>normal mode (default)</h2>
18 <ul class="keys omni">
19 <li class="mo chr27" onclick="setmode()"><b>Esc</b> normal mode
20 <!-- not as static anymore, but never bothered; just see ^[ -->
26 use Shiar_Sheet::Keyboard 2;
29 [qw(Á B ¢ Ð É F G H Í J Œ Ø µ Ñ Ó Ö Ä ® § Þ Ú V Å X Ü Æ)],
30 [qw(á b © ð é f g h í j œ ø µ ñ ó ö ä ® ß þ ú v å x ü æ)],
31 [qw(Å ı Ç ð ´ ̉ ˝ ̣ ˆ ½ Þ ¾ ˜ Ø ∏ Œ ‰ / ˇ ¨ ◊ „ ˛ ¼ ¸)],
32 [qw(å ∫ ç ∂ ´ ƒ © ˙ ^ ∆ ° ¬ µ ~ ø π œ ® ß † ¨ √ ∑ ≈ ¥ Ω)],
35 my $keys = Shiar_Sheet::Keyboard->new({
38 map { $_ => [''] } @{ $usint->[0] }
43 my $i = ord($_) - ord('a');
44 $_ => ["$usint->[1]->[$i]<br>$usint->[2]->[$i]"]
48 $keys->map($get{map}) or undef $get{map};
49 $keys->print_rows($get{rows}, [0]);
57 <dl class="legend legend-types">
59 <dd>Info command: shows/does something without altering anything.
61 <dt class="po">positioning
62 <dd>Other movement (jumps, window (re)positioning).
63 <dt class="co">command
64 <dd>Direct action command.
65 <dt class="mi">ins mode
66 <dd>Enters Insert or Replace mode.
68 <dd>Enters a different mode.
69 <dt class="mv">vis mode
70 <dd>Enters Visual or Select mode.
71 <dt class="me">key cmd
72 <dd>Additional key commands (click for overview).
77 <dl class="legend legend-options">
80 <ul class="legend legend-set">
81 <li>keyboard <strong>map</strong> is
82 <:= $get{map} ? 'set to ' : '' :><em><:= $keys->{map} :></em>
83 <li><strong>keys</strong> are
84 <em><:= $showkeys ? 'always shown' : 'hidden if unassigned' :></em><:=
85 !exists $get{keys} && ' by default' :>
86 <li>default <strong>style</strong> is
87 <:= defined $get{style} && 'set to ' :><em><:= $style :></em>