aboutsummaryrefslogtreecommitdiff
path: root/vi-mode.sh
diff options
context:
space:
mode:
Diffstat (limited to 'vi-mode.sh')
-rw-r--r--vi-mode.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/vi-mode.sh b/vi-mode.sh
index 5c3678f..a3f70e0 100644
--- a/vi-mode.sh
+++ b/vi-mode.sh
@@ -57,8 +57,8 @@ if [[ -n "$ZSH_VERSION" ]]; then
# Map 'jk' to Escape key in INSERT mode
bindkey -M viins 'jk' vi-cmd-mode
-# Set vi-mode and key bindings for bash
elif [[ -n "$BASH_VERSION" ]]; then
+ # Set vi-mode and key bindings for bash
set -o vi
# Show which mode