4 title => 'vimperator cheat sheet',
7 "Interactive cheat sheet for the Vimperator Firefox extension,",
8 "describing the function of each key.",
11 vimperator firefox vim iceweasel sheet cheat reference overview
12 commands keyboard browser
14 charset => $sign{charset},
15 stylesheet => [qw'light dark circus mono red terse'],
20 <h1>Vimperator cheat sheet</h1>
22 <h2>normal mode (default)</h2>
27 <ul class="keys omni">
28 <li class="mv chr27" onclick="setmode()"><b>Esc</b> normal mode
29 <!-- not as static anymore, but never bothered; just see ^[ -->
34 use Shiar_Sheet::Keyboard 2;
35 my $info = do 'vimperator.eng.inc.pl' or die $@;
36 $info->{def} = do 'vimperator.inc.pl';
37 my $keys = Shiar_Sheet::Keyboard->new($info);
38 $keys->map($get{map}) or undef $get{map};
39 $keys->print_rows($get{rows});
47 <dl class="legend legend-types">
49 <dd>Displays something without any permanent consequences.
51 <dd>Move cursor, scroll window, focus buffer element.
53 <dd>Tab or window navigation/selection.
57 <dd>Browse to a location in the current tab.
58 <dt class="mi">tab open
59 <dd>Browse somewhere in a new tab.
60 <dt class="mo">browser
61 <dd>Other browser action.
63 <dd>Enter a different mode.
64 <dt class="me">key cmd
65 <dd>Additional key commands (click for overview).
70 <dl class="legend legend-options">
71 <dt>key<:= $sign{arg} :>
72 <dd>Commands with a dot need a char argument afterwards.
73 <dt>key<:= $sign{args} :>
74 <dd>Commands with two dots require variable arguments afterwards.
77 <ul class="legend legend-set">
78 <li>keyboard <strong>map</strong> is
79 <:= $get{map} ? 'set to ' : '' :><em><:= $keys->{map} :></em>
80 <li><strong>ascii</strong> mode is
81 <:= defined $sign{-ascii} && 'forced ' :><em><:=
82 $sign{-ascii} ? 'on' : 'off' :></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>