7 "Reference sheet of default key bindings for GNU readline,",
8 "used for line-editing in most Unix software, notably Emacs and Bash.",
10 keywords => [qw( readline gnu bash emacs editing curses )],
15 '+<' => "history start",
16 '+>' => "history end",
17 '+?' => "list complet<>ion<>s",
20 '+#' => "prefix comm<>en<>t",
21 '+&' => "tilde expand",
22 '+*' => "complet<>e all",
23 '+.' => "insert last",
26 '+\\'=> "delete whitesp<>ace",
28 '^+]'=> "rev find char",
31 '+~' => "user<>name exp<>and",
33 '+@' => "host<>name exp<>and",
34 '+$' => "variable expand",
35 '+^' => "history expand",
36 '+/' => "filename expand",
38 '^a' => "begin of line",
39 '^b' => "char back<>w<>ard<>s",
40 '+b' => "word back<>w<>ard<>s",
41 '^c' => "cancel comm<>and",
42 '+c' => "capital<>ise word",
43 '^d' => "delete char",
44 '+d' => "delete word rem<>ain<>der",
45 # '^e' => "emacs mode",
46 '^e' => "end of line",
47 '^f' => "char forward",
48 '+f' => "word forward",
49 '^g' => "abort cmd, bell",
50 '^h' => "back<>space",
51 '^+h'=> "delete bound word",
52 '^i' => "auto<>complet<>e\n(tab)",
54 '^k' => "delete till eol",
55 '^l' => "clear screen",
56 '+l' => "lowcase word",
57 '^m' => "enter line\n(enter)",
58 '^n' => "history next",
59 '+n' => "match history",
60 '^o' => "enter and next",
61 '^p' => "history back",
62 '+p' => "rev match history",
63 # '^q' => "\nQuote", #TODO fix partial override
64 '^r' => "reverse history",
65 '+r' => "full undo\nRevert",
66 '^s' => "search history",
67 '^t' => "move char forw<>ard\nTranspose char",
68 '+t' => "move word forw<>ard\nTranspose word",
69 '^u' => "delete till bol", # unix
70 '+u' => "upcase word",
71 '^v' => "verbat<>im char",
72 '^w' => "delete word", # unix
75 '+y' => "rotate yank",
77 '^z' => "back<>ground",
79 '^x(' => "start macro",
81 '^xe' => "run macro\nExecute",
83 '^x^r' => "reload inputrc",
84 '^x^x' => "swap cursor\neXchange",
85 '^x^v' => "shell version",
87 # globally label escape as meta key
94 '^x' => "emacs ctrl-x bindings",
98 g1 => [info => "Info command: shows/does something without altering anything."],
99 g2 => [motion => "Move the cursor."],
100 g4 => [history => "Replace contents involving kill ring, undo, or command history."],
101 g6 => [change => "Alter current text (filtering or completion)."],
102 g7 => [delete => "Remove text."],
103 g8 => [misc => "Miscellaneous commands."],
104 g9 => [mode => "Additional key functionality (click to view)."],
106 arg => ["key<arg>" => "Commands with a dot need a char argument afterwards."],
107 'v21 new' => [">v2.0" => "Unavailable before readline version 2.1 (1997)."],
108 'xbash ext' => ["bash" => "Default assignment in Bash shells, but not common readline."],
116 '+=' => '=+?', #TODO: v21 # emacs, not in v2.0
120 '^@' => 'g8 v21', # not in v2.0
122 '+#' => 'g6 v21', # not in v2.0
124 '+*' => 'g6 v21', # not in v2.0
126 '+~' => '=+&', # emacs
131 '^]' => 'g2 arg v21', # not in v2.0
132 '^+]'=> 'g2 arg v21', # not in v2.0
136 '+~' => 'g6 xbash', # common emacs => '=+&'
157 '^+h'=> 'g7 ring', #TODO
161 '^+j'=> 'g9', #TODO: mode^+j
183 '^x' => 'g9 arg mode^x',
198 '^e' => 'g6 xbash linkvi',
203 '^x' => 'g2 v21', # not in v2.0