keyboard: drop unrelated vi legends
[sheet.git] / readline.eng.inc.pl
index 87eb061e10c2d8764d9275b1db0638ee030b9fea..4b2888505a1d8bff9fd7f6c677cdb0cb52427189 100644 (file)
@@ -98,5 +98,101 @@ flag => {
        ext => ["bash" => "Default assignment in Bash shells, but not common readline."],
 },
 
-def => do 'readline.inc.pl',
+def => {
+       '' => {
+               "\e" => 'g8',
+
+               '+<' => 'g4',
+               '+=' => '=+?', #TODO: new # emacs, not in v2.0
+               '+>' => 'g4',
+               '^?' => '=^h',
+               '+?' => 'g1',
+               '^@' => 'g8 new', # not in v2.0
+
+               '+#' => 'g6 new', # not in v2.0
+               '+&' => 'g6',
+               '+*' => 'g6 new', # not in v2.0
+               '+.' => 'g4',
+               '+~' => '=+&amp;', # emacs
+
+               '^[' => 'g8',
+               '^+['=> '=^i',
+               '+\\'=> 'g7',
+               '^]' => 'g2 arg new', # not in v2.0
+               '^+]'=> 'g2 arg new', # not in v2.0
+               '^_' => 'g4',
+               '+_' => '=+.',
+
+               '+~' => 'g6 ext', # common emacs => '=+&'
+               '+!' => 'g6 ext',
+               '+@' => 'g6 ext',
+               '+$' => 'g6 ext',
+               '+^' => 'g4 ext',
+               '+/' => 'g1 ext',
+
+               '^a' => 'g2',
+               '^b' => 'g2',
+               '+b' => 'g2',
+               '^c' => 'g8 ext',
+               '+c' => 'g6',
+               '^d' => 'g7',
+               '+d' => 'g7 ring',
+       #       '^e' => 'g9',
+               '^e' => 'g2',
+               '^f' => 'g2',
+               '+f' => 'g2',
+               '^g' => 'g8',
+               '^+g'=> '=^g',
+               '^h' => 'g7',
+               '^+h'=> 'g7 ring', #TODO
+               '^i' => 'g6',
+               '^+i'=> '=^v^i',
+               '^j' => '=^m',
+               '^+j'=> 'g9', #TODO: mode^+j
+               '^k' => 'g7 ring',
+               '^l' => 'g1',
+               '+l' => 'g6',
+               '^m' => 'g4',
+               '^+m'=> '=^+j',
+               '^n' => 'g4',
+               '+n' => 'g4',
+               '^o' => 'g4 ext',
+               '^p' => 'g4',
+               '+p' => 'g4',
+               '^q' => '=^v',
+               '^r' => 'g4',
+               '+r' => 'g4',
+               '^+r'=> '=+r',
+               '^s' => 'g4',
+               '^t' => 'g6',
+               '+t' => 'g6',
+               '^u' => 'g7 ring',
+               '+u' => 'g6',
+               '^v' => 'g8',
+               '^w' => 'g7 ring',
+               '^x' => 'g9 arg mode^x',
+               '^y' => 'g4',
+               '+y' => 'g4 ring',
+               '^+y'=> "yank arg",
+               '^z' => 'g8 ext',
+       },
+
+       '^x' => {
+               lead => "x̂",
+
+               "\e" => 'g8 mode',
+
+               '('  => 'g8',
+               ')'  => 'g8',
+               'e'  => 'g8',
+               '^e' => 'g6 ext linkvi',
+               '^g' => '=^g',
+               '^h' => '=^u',
+               '^r' => 'g8',
+               '^u' => '=^_',
+               '^x' => 'g2 new', # not in v2.0
+               '^v' => 'g1 ext',
+               '^?' => '=^x^h',
+       },
+},
 }