commit 1c53b48b3644d02d852e0c6d04d5deb99613a502
parent d07aadefd1b33ac5be8f39925824892b926ac1fb
Author: Chris Bracken <cbracken@google.com>
Date: Mon, 22 Oct 2012 10:35:40 -0700
Use vi mode in bash
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/.bashrc b/.bashrc
@@ -20,6 +20,9 @@ HISTFILESIZE=2000
# update the values of LINES and COLUMNS.
shopt -s checkwinsize
+# vi mode
+set -o vi
+
# If set, the pattern "**" used in a pathname expansion context will
# match all files and zero or more directories and subdirectories.
#shopt -s globstar