keys: load flags dependency within descriptions include
[sheet.git] / vimperator.eng.inc.pl
1 use utf8;
2 {
3 key => {
4         '~' => "open home<>dir",
5         '@' => "play macro",
6         '^' => "left of page",
7         '$' => "right of page",
8         '#' => "rev. find word",
9         '*' => "find word",
10         '^^'=> "last tab",
11         '?' => "find rev.",
12         '/' => "find",
13         '[' => "focus forw<>ard",
14         ']' => "focus back",
15         ':' => "comm<>and line mode",
16         ';' => "extend<>ed hint<>s mode",
17         "'" => "jump to mark",
18         '|' => "toggle source",
19
20         'a' => "add bookm<>ark",
21         'A' => "toggle bookm<>ark<>ed",
22         '^a'=> "incr<>em<>ent url nr",
23         'b' => "to buffer",
24         'B' => "list buffers",
25         '^b'=> "page up",
26         '^c'=> "stop loading",
27         '^d'=> "scroll down",
28         'd' => "close tab",
29         'D' => "close tab left<>ward<>s",
30         'i' => "caret mode",
31         'f' => "quick<>hint mode",
32         'F' => "f in tab",
33         '^f'=> "page down",
34         'g' => "extra cmds",
35         'G' => "last/% line",
36         '^g'=> "file name",
37         'h' => "<left>",
38         'H' => "page back",
39         'j' => "<down>",
40         'k' => "<up>",
41         'l' => "<right>",
42         'L' => "page forw<>ard",
43         'M' => "mark url",
44         'm' => "mark line",
45         'n' => "find next",
46         'N' => "find prev<>ious",
47         '^n'=> "next tab",
48         'o' => "open",
49         'O' => "alter url",
50         'p' => "open pasted url",
51         'P' => "p in tab",
52         'q' => "record macro",
53         'r' => "reload page",
54         'R' => "reload uncach<>e<>d",
55         't' => "tab open new",
56         'T' => "tab open curr<>ent",
57         '^v'=> "pass single",
58         '^u'=> "scroll up",
59         'u' => "restore closed tab",
60         '^x'=> "decr<>em<>ent url nr",
61         'y' => "copy url",
62         'Y' => "copy select<>ion",
63         'z' => "zoom",
64         'Z' => "quit",
65         '^z'=> "pass throu<>gh",
66
67         'g0' => "first tab",
68         'g$' => "last tab",
69
70         'gb' => "repeat buffer cmd",
71         'gB' => "reverse gb",
72         'gf' => "view source",
73         'gF' => "source extern<>al",
74         'g^g'=> "file details",
75         'gg' => "first line",
76         'gh' => "open home<>page",
77         'gH' => "tab with home<>page",
78         'gi' => "last input field",
79         'gn' => "tabopen url mark\nGo in New tab",
80         'go' => "open url mark",
81         'gP' => "<alias>P inactive",
82         'gt' => "switch tab",
83         'gT' => "tab back",
84         'gu' => "parent dir<>ectory",
85         'gU' => "site root",
86
87         ';;' => "focus",
88         ';?' => "element details",
89         ';a' => "save prompt",
90         ';b' => "open bg tab",
91         ';c' => "context menu",
92         ';f' => "frame focus",
93         ';F' => "multiple bg tabs",
94         ';i' => "image",
95         ';I' => "image in tab",
96         ';o' => "open",
97         ';O' => "open prompt",
98         ';s' => "save",
99         ';t' => "open in tab",
100         ';T' => "tab prompt",
101         ';v' => "view source",
102         ';w' => "open in wind<>ow",
103         ';W' => "wind<>ow prompt",
104         ';y' => "copy url",
105         ';Y' => "copy text",
106
107         ']f' => "next frame<>set",
108         ']]' => "open <q>next</q>",
109
110         '[f' => "previous frame<>set",
111         '[[' => "open <q>prev</q>",
112
113         'zi' => "en<>large text\nZoom In",
114         'zm' => "en<>large more\nZoom More",
115         'zo' => "shrink text\nZoom Out",
116         'zr' => "tinier text\nZoom Reduce",
117         'zz' => "reset text size\nZoom Zero",
118         'zI' => "zoom in",
119         'zM' => "zoom more",
120         'zO' => "zoom out",
121         'zR' => "zoom out more\nZoom Reduce",
122         'zZ' => "zoom reset\nZoom Zero",
123
124         'ZQ' => "quit no save",
125         'ZZ' => "quit save ses<>s<>ion",
126 },
127
128 mode => {
129         ''  => 'normal mode',
130         'g' => 'extended commands (g)',
131         ';' => 'extended hints (;)',
132         ']' => '(])',
133         '[' => '([)',
134         'z' => 'zoom commands (z)',
135         'Z' => 'quit commands (Z)',
136 },
137
138 flag => {
139         g1 => ['info'     => "Displays something without any permanent consequences."],
140         g2 => ['motion'   => "Move cursor, scroll window, focus buffer element."],
141         g3 => ['tab'      => "Tab or window navigation/selection."],
142         g4 => ['buffer'   => "Page interaction."],
143         g5 => ['open'     => "Browse to a location in the current tab."],
144         g6 => ['tab open' => "Browse somewhere in a new tab."],
145         g7 => ['browser'  => "Other browser action."],
146         g8 => ['mode'     => "Enter a different mode."],
147         g9 => ['key cmd'  => "Additional key commands (click for overview)."],
148
149         arg  => ["key<arg>"  => "Commands with a dot need a char argument afterwards."],
150         args => ["key<args>" => "Commands with two dots require variable arguments afterwards."],
151 },
152
153 def => do 'vimperator.inc.pl',
154 }