commit ffa5b859d11317b10bb511c30791c009b4637ff5 (patch)
parent 2cc3255eae0931c771732d235b840a89ca7cd829
Author: Alexander Karle <akarle@umass.edu>
Date: Sun, 19 Aug 2018 15:38:23 -0400
[bash] tab completion and vi bindings coexist
Needed the set editing-mode to be up top before binding
the tab completion lines in inputrc
Diffstat:
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/inputrc b/inputrc
@@ -1,11 +1,12 @@
+# vi keys! Needs to be up top
+set editing-mode vi
+
# tab completion
Tab: menu-complete
"\e[Z": menu-complete-backward
-# vi keys!
-set editing-mode vi
-
set keymap vi-command
Control-l: clear-screen
+
set keymap vi-insert
Control-l: clear-screen