diff options
author | Robby Russell <robby@planetargon.com> | 2012-12-01 11:31:21 -0800 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2012-12-01 11:31:21 -0800 |
commit | 293a65c9d8e9735ec17ceffa522df26e4ef79397 (patch) | |
tree | 9703fd7f88209099463738aa282896cd87eaa4e6 /plugins/vi-mode | |
parent | 3dc1d92950a087f50387e617de7c96ec1a6602fc (diff) | |
parent | 53854754e0d052c41587c7d84b9be7868f31bfe8 (diff) | |
download | zsh-293a65c9d8e9735ec17ceffa522df26e4ef79397.tar.gz zsh-293a65c9d8e9735ec17ceffa522df26e4ef79397.tar.bz2 zsh-293a65c9d8e9735ec17ceffa522df26e4ef79397.zip |
Merge pull request #1439 from maxbane/master
Revert "Fix to restore bindings after switching to vi-mode"
Diffstat (limited to 'plugins/vi-mode')
-rw-r--r-- | plugins/vi-mode/vi-mode.plugin.zsh | 5 |
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 d29eb1dda..c47ab7211 100644 --- a/plugins/vi-mode/vi-mode.plugin.zsh +++ b/plugins/vi-mode/vi-mode.plugin.zsh @@ -5,12 +5,7 @@ function zle-line-init zle-keymap-select { zle -N zle-line-init 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 |