Fix to restore bindings after switching to vi-mode #1320

Merged
merged 1 commit into from Sep 23, 2012
Commits on Sep 20, 2012
  1. @jimhester

    Fix to restore bindings after switching to vi-mode

    jimhester committed Sep 20, 2012
    the vi-mode plugin destroys any bindings made before it is sourced due to the
    'bindkey -v' call to switch to using vi-mode.  This patch saves the bindings
    before invoking 'bindkey -v' then rebinds them afterwards, this fixes a number
    of outstanding issues due to people using vi-mode and having things in oh-my-zsh
    break due to the bindings being destroyed