X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/34c8b87c25c51521261ef20f49c34b924501890f..b3075ba5909f86e931ac0485984446df8661d9ab:/readline.inc.pl diff --git a/readline.inc.pl b/readline.inc.pl index f617218..a2931e5 100644 --- a/readline.inc.pl +++ b/readline.inc.pl @@ -61,10 +61,27 @@ use utf8; '+u' => ["upcase word", 'mi'], '^v' => ["verbatim char", 'mv'], '^w' => ["delete word", 'mo ring'], # unix -# '^xBS' => ["delete till bol", 'mo'], - '^x' => ["extend$sign{_}ed", 'me arg'], + '^x' => ["extend$sign{_}ed", 'me arg mode^x'], '^y' => ["yank top", 'co'], '+y' => ["rotate yank", 'co ring'], '^+y'=> ["yank arg"], }, +'^x' => { + lead => $ascii ? "'x" : "x̂", + desc => 'emacs ctrl-x bindings', + + '^h' => '^u', + '(' => ["start macro", 'mv'], + ')' => ["end macro", 'mv'], + 'e' => ["run macro", 'mv', 'Execute'], + '^e' => ["editor", 'mi ext linkvim'], + '^r' => ["reload inputrc", 'mv'], + '^u' => '^_', + '^x' => ["swap cursor", 'pm', 'eXchange'], + '^g' => '^g', + '^h' => '^u', + '^v' => ["shell version", 'ci ext'], + '^?' => '^x^h', +}, +