set VI_KEYMAP in zle-keymap-select

pull/100/head
Roman Perepelitsa 6 years ago committed by GitHub
parent 9a54f84be1
commit 09cebc2887
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2317,6 +2317,7 @@ powerlevel9k_prepare_prompts() {
} }
function _p9k_zle_keymap_select() { function _p9k_zle_keymap_select() {
VI_KEYMAP=$KEYMAP
zle && zle .reset-prompt && zle -R zle && zle .reset-prompt && zle -R
} }
@ -2826,4 +2827,4 @@ zmodload zsh/mathfunc
zmodload zsh/system zmodload zsh/system
zmodload -F zsh/stat b:zstat zmodload -F zsh/stat b:zstat
prompt_powerlevel9k_setup prompt_powerlevel9k_setup

Loading…
Cancel
Save