fix default mode in zsh bindings
This commit is contained in:
parent
b856fa5a82
commit
96d89ae81b
|
@ -75,12 +75,13 @@ _powerline_init_modes_support() {
|
||||||
_powerline_set_true_keymap_name "$REPLY"
|
_powerline_set_true_keymap_name "$REPLY"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_powerline_add_widget zle-keymap-select _powerline_zle_keymap_select
|
||||||
|
_powerline_set_main_keymap_name
|
||||||
|
|
||||||
if [[ "$_POWERLINE_MODE" != vi* ]] ; then
|
if [[ "$_POWERLINE_MODE" != vi* ]] ; then
|
||||||
export _POWERLINE_DEFAULT_MODE="$_POWERLINE_MODE"
|
export _POWERLINE_DEFAULT_MODE="$_POWERLINE_MODE"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
_powerline_add_widget zle-keymap-select _powerline_zle_keymap_select
|
|
||||||
_powerline_set_main_keymap_name
|
|
||||||
precmd_functions+=( _powerline_set_main_keymap_name )
|
precmd_functions+=( _powerline_set_main_keymap_name )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue