X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/fce84aa1e30c6b14da0126ba69e2d3aca3e5ef17..7c6662e77e3c64d1210daa5b444a340fc57b2884:/vimperator.inc.pl?ds=sidebyside
diff --git a/vimperator.inc.pl b/vimperator.inc.pl
index 73a0b03..ae80cf5 100644
--- a/vimperator.inc.pl
+++ b/vimperator.inc.pl
@@ -1,163 +1,163 @@
use utf8;
+{
'' => {
- desc => 'normal mode',
-
- '~' => ["open home$sign{_}dir", 'cp'],
- '@' => ["play macro", 'mo arg'],
- '^' => ["left of page", 'pm'],
- '0' => '^',
- '$' => ["right of page", 'pm'],
- '#' => ["rev. find word", 'pm'],
- '*' => ["find word", 'pm'],
- '+' => 'zi',
- '-' => 'zo',
- '^^'=> ["last tab", 'po'],
- '?' => ["find rev.", 'pm args modec'],
- '/' => ["find", 'pm args modec'],
- '[' => ["focus forw$sign{_}ard", 'me arg mode['],
- ']' => ["focus back", 'me arg mode]'],
- ':' => ["comm$sign{_}and line mode", 'mo args'],
- ';' => ["extend$sign{_}ed hint$sign{_}s mode", 'me arg args mode;'],
- "'" => ["jump to mark", 'pm'],
- '`' => "'",
-
- 'a' => ["add bookm$sign{_}ark", 'mo args'],
- 'A' => ["toggle bookm$sign{_}ark$sign{_}ed", 'mo'],
- '^a'=> ["incr$sign{_}em$sign{_}ent url nr", 'cp'],
- 'b' => ["to buffer", 'po args'],
- 'B' => ["list buffers", 'ci'],
- '^b'=> ["page up", 'pm'],
- '^c'=> ["stop loading", 'co'],
- '^d'=> ["scroll down", 'pm'],
- 'd' => ["close tab", 'co'],
- 'D' => ["close tab left$sign{_}ward$sign{_}s", 'co'],
- 'i' => ["caret mode", 'mv'],
- '^i'=> 'L',
- '^e'=> 'j',
- 'f' => ["quick$sign{_}hint mode", 'cp args'],
- 'F' => ["f in tab", 'mi args'],
- '^f'=> ["page down", 'pm'], # spacebar
- 'g' => ["extra cmds", 'me modeg arg'],
- 'G' => ["last/% line", 'pm'],
- '^g'=> ["file name", 'ci'],
- 'h' => [$sign{left}, 'pm'],
- 'H' => ["page back", 'cp'],
- 'j' => [$sign{down}, 'pm'],
- 'k' => [$sign{up}, 'pm'],
- 'l' => [$sign{right}, 'pm'],
- 'L' => ["page forw$sign{_}ard", 'cp'],
- 'M' => ["mark url", 'mo arg'],
- 'm' => ["mark line", 'mo arg'],
- 'n' => ["find next", 'pm'],
- 'N' => ["find prev$sign{_}ious", 'pm'],
- '^n'=> 'gt',
- 'o' => ["open", 'cp'],
- 'O' => ["alter url", 'cp'],
- '^o'=> 'H',
- 'p' => ["open pasted url", 'cp'],
- 'P' => ["p in tab", 'mi'],
- '^p'=> 'gT',
- 'q' => ["record macro", 'mv arg'],
- 'r' => ["reload page", 'co'],
- 'R' => ["reload uncach$sign{_}e$sign{_}d", 'cp'],
- 't' => ["tab open new", 'mi'],
- 'T' => ["tab open curr$sign{_}ent", 'mi'],
- '^v'=> ["pass single", 'co arg'],
- '^u'=> ["scroll up", 'pm'],
- 'u' => ["restore closed tab", 'mi'],
- '^x'=> ["decr$sign{_}em$sign{_}ent url nr", 'cp'],
- 'y' => ["copy url", 'mo'],
- 'Y' => ["copy select$sign{_}ion", 'mo'],
- '^y'=> 'k',
- 'z' => ["zoom", 'ci modez arg'],
- 'Z' => ["quit", 'me modeZ arg'],
- '^z'=> ["pass throu$sign{_}gh", 'mv'],
+ '~' => 'g5',
+ '@' => 'g7 arg',
+ '^' => 'g2',
+ '0' => '=^',
+ '$' => 'g2',
+ '#' => 'g2',
+ '*' => 'g2',
+ '+' => '=zi',
+ '-' => '=zo',
+ '^^'=> 'g3',
+ '?' => 'g2 args modec',
+ '/' => 'g2 args modec',
+ '[' => 'g9 arg mode[',
+ ']' => 'g9 arg mode]',
+ ':' => 'g7 args',
+ ';' => 'g9 arg args mode;',
+ "'" => 'g2',
+ '`' => "='",
+ '|' => 'g5 v2 v2.2',
+
+ 'a' => 'g7 args',
+ 'A' => 'g7',
+ '^a'=> 'g5',
+ 'b' => 'g3 args',
+ 'B' => 'g1',
+ '^b'=> 'g2',
+ '^c'=> 'g4',
+ '^d'=> 'g2',
+ 'd' => 'g4',
+ 'D' => 'g4',
+ 'i' => 'g8',
+ '^i'=> '=L',
+ '^e'=> '=j',
+ 'f' => 'g5 args',
+ 'F' => 'g6 args',
+ '^f'=> 'g2', # spacebar
+ 'g' => 'g9 modeg arg',
+ 'G' => 'g2',
+ '^g'=> 'g1',
+ 'h' => 'g2',
+ 'H' => 'g5',
+ 'j' => 'g2',
+ 'k' => 'g2',
+ 'l' => 'g2',
+ 'L' => 'g5',
+ 'M' => 'g7 arg',
+ 'm' => 'g7 arg',
+ 'n' => 'g2',
+ 'N' => 'g2',
+ '^n'=> 'g3',
+ 'o' => 'g5',
+ 'O' => 'g5',
+ '^o'=> '=H',
+ 'p' => 'g5',
+ 'P' => 'g6',
+ '^p'=> '=gT',
+ 'q' => 'g8 arg',
+ 'r' => 'g4',
+ 'R' => 'g5',
+ 't' => 'g6',
+ 'T' => 'g6',
+ '^v'=> 'g4 arg',
+ '^u'=> 'g2',
+ 'u' => 'g6',
+ '^x'=> 'g5',
+ 'y' => 'g7',
+ 'Y' => 'g7',
+ '^y'=> '=k',
+ 'z' => 'g1 modez arg',
+ 'Z' => 'g9 modeZ arg',
+ '^z'=> 'g8',
}, # normal mode
g => {
- desc => 'extended commands (g)',
lead => 'g',
- '0' => ["first tab", 'po'],
- '$' => ["last tab", 'po'],
- '^' => 'g0',
-
- 'b' => ["repeat buffer cmd", 'po'],
- 'B' => ["reverse gb", 'po'],
- 'f' => ["view source", 'cp'],
- 'F' => ["source extern$sign{_}al", 'mo'],
- '^g'=> ["file details", 'ci'],
- 'g' => ["first line", 'pm'],
- 'h' => ["open home$sign{_}page", 'cp'],
- 'H' => ["tab with home$sign{_}page", 'mi'],
- 'i' => ["last input field", 'pm'],
- 'n' => ["tabopen url mark", 'mi arg', 'Go in New tab'],
- 'o' => ["open url mark", 'cp arg'],
- 'P' => ["$sign{alias}P inactive", 'mi'],
- 't' => ["next tab", 'po'],
- 'T' => ["prev$sign{_}ious tab", 'po'],
- 'u' => ["parent dir$sign{_}ectory", 'cp'],
- 'U' => ["site root", 'cp'],
+ '0' => 'g3',
+ '$' => 'g3',
+ '^' => '=g0',
+
+ 'b' => 'g3',
+ 'B' => 'g3',
+ 'f' => 'g5',
+ 'F' => 'g7',
+ '^g'=> 'g1',
+ 'g' => 'g2',
+ 'h' => 'g5',
+ 'H' => 'g6',
+ 'i' => 'g2',
+ 'n' => 'g6 arg',
+ 'o' => 'g5 arg',
+ 'P' => 'g6',
+ 't' => 'g3',
+ 'T' => 'g3',
+ 'u' => 'g5',
+ 'U' => 'g5',
}, # mode g
';' => {
- desc => 'extended hints (;)',
lead => ';',
- ';' => ["focus", 'pm'],
- '?' => ["element details", 'ci'],
- 'a' => ["save prompt", 'mo args'],
- 'f' => ';o',
- 'F' => ';t',
- 'o' => ["open", 'cp'],
- 'O' => ["open prompt", 'cp args'],
- 's' => ["save", 'mo'],
- 't' => ["open in tab", 'mi'],
- 'T' => ["tab prompt", 'mi args'],
- 'v' => ["view source", 'cp'],
- 'w' => ["open in wind$sign{_}ow", 'mi'],
- 'W' => ["wind$sign{_}ow prompt", 'mi args'],
- 'y' => ["copy url", 'mo'],
- 'Y' => ["copy text", 'mo'],
+ ';' => 'g2',
+ '?' => 'g1',
+ 'a' => 'g7 args',
+ 'b' => 'g6 v2',
+ 'c' => 'v2 v2.2',
+ 'f' => 'g2 v2', # previously ';o'
+ 'F' => 'g6 v2', # previously ';t'
+ 'i' => 'g5 v2 v2.2',
+ 'I' => 'g6 v2 v2.2',
+ 'o' => 'g5',
+ 'O' => 'g5 args',
+ 's' => 'g7',
+ 't' => 'g6',
+ 'T' => 'g6 args',
+ 'v' => 'g5',
+ 'w' => 'g6',
+ 'W' => 'g6 args',
+ 'y' => 'g7',
+ 'Y' => 'g7',
}, # mode ;
+
']' => {
- desc => '(])',
lead => ']',
- 'f' => ["next frame$sign{_}set", 'pm'],
- ']' => ["open next
", 'cp'],
+ 'f' => 'g2',
+ ']' => 'g5',
}, # mode ]
'[' => {
- desc => '([)',
lead => '[',
- 'f' => ["previous frame$sign{_}set", 'pm'],
- '[' => ["open prev
", 'cp'],
+ 'f' => 'g2',
+ '[' => 'g5',
}, # mode [
z => {
- desc => 'zoom commands (z)',
lead => 'z',
- 'i' => ["en$sign{_}large text", 'ci', 'Zoom In'],
- 'm' => ["en$sign{_}large more", 'ci', 'Zoom More'],
- 'o' => ["shrink text", 'ci', 'Zoom Out'],
- 'r' => ["tinier text", 'ci', 'Zoom Reduce'],
- 'z' => ["reset text size", 'ci', 'Zoom Zero'],
- 'I' => ["zoom in", 'ci'],
- 'M' => ["zoom more", 'ci'],
- 'O' => ["zoom out", 'ci'],
- 'R' => ["zoom out more", 'ci', 'Zoom Reduce'],
- 'Z' => ["zoom reset", 'ci', 'Zoom Zero'],
+ 'i' => 'g1',
+ 'm' => 'g1',
+ 'o' => 'g1',
+ 'r' => 'g1',
+ 'z' => 'g1',
+ 'I' => 'g1',
+ 'M' => 'g1',
+ 'O' => 'g1',
+ 'R' => 'g1',
+ 'Z' => 'g1',
}, # mode z
Z => {
- desc => 'quit commands (Z)',
lead => 'Z',
- 'Q' => ["quit no save", 'mo'],
- 'Z' => ["quit save ses$sign{_}s$sign{_}ion", 'mo'],
+ 'Q' => 'g7',
+ 'Z' => 'g7',
}, # mode Z
+}