summaryrefslogtreecommitdiff
path: root/plugins/vi-mode/vi-mode.plugin.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/vi-mode/vi-mode.plugin.zsh')
-rw-r--r--plugins/vi-mode/vi-mode.plugin.zsh5
1 files changed, 0 insertions, 5 deletions
diff --git a/plugins/vi-mode/vi-mode.plugin.zsh b/plugins/vi-mode/vi-mode.plugin.zsh
index e23bd3c54..f91be70e4 100644
--- a/plugins/vi-mode/vi-mode.plugin.zsh
+++ b/plugins/vi-mode/vi-mode.plugin.zsh
@@ -23,12 +23,7 @@ zle -N zle-line-init
zle -N zle-line-finish
zle -N zle-keymap-select
-#changing mode clobbers the keybinds, so store the keybinds before and execute
-#them after
-binds=`bindkey -L`
bindkey -v
-for bind in ${(@f)binds}; do eval $bind; done
-unset binds
# if mode indicator wasn't setup by theme, define default
if [[ "$MODE_INDICATOR" == "" ]]; then