Bind "M-Right" to 'menu-complete'. Useful in Python with readline completion
authorOleksandr Gavenko <gavenkoa@gmail.com>
Wed, 13 Mar 2013 21:38:18 +0200
changeset 622 f5b9226c2e4a
parent 621 c26afe3a6d86
child 623 1a88f117d47d
Bind "M-Right" to 'menu-complete'. Useful in Python with readline completion from Emacs...
.inputrc
--- a/.inputrc	Mon Mar 04 11:00:08 2013 +0200
+++ b/.inputrc	Wed Mar 13 21:38:18 2013 +0200
@@ -94,12 +94,10 @@
 
 # Bind 'Shift+TAB' to complete as in Python TAB was need for another purpose.
 "\e[Z": complete
-$if Bash
 # Cycling possible completion forward and backward in place.
 "\e[1;3C": menu-complete                    # M-Right
 "\e[1;3D": menu-complete-backward           # M-Left
 "\e[1;5I": menu-complete                    # C-TAB
-$endif
 
 # Local Variables:
 # mode: shell-script