Enable vi mode in bash

This commit is contained in:
Georgi Gardev
2016-10-18 16:20:19 +03:00
parent 2f622e5c37
commit 0f2a4ef21a
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -11,6 +11,9 @@ shopt -s checkwinsize
# Disable Caret-C output
stty -ctlecho
set -o vi
bind -m vi-insert "\C-l":clear-screen
#so as not to be disturbed by Ctrl-S ctrl-Q in terminals:
stty -ixon