• CrispyConductor's avatar
    fix(vi-mode): fix keymap indicator on zle-line-finish (#9620) · 3f34ce4d
    CrispyConductor authored
    * Update VI_KEYMAP on zle-line-finish.  Fixes next prompt draw.
    
    * Also fix vi-mode prompt redraw in case previous prompt was canceled
    
    * Do not redraw fix prompt if VI_MODE_RESET_PROMPT_ON_MODE_CHANGE is unset
    
    * Use a local variable instead of global in function
    3f34ce4d
vi-mode.plugin.zsh 4.53 KB