1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-25 13:30:07 +00:00

set VI_KEYMAP in zle-keymap-select

This commit is contained in:
Roman Perepelitsa 2019-07-02 08:38:35 +02:00 committed by GitHub
parent 9a54f84be1
commit 09cebc2887
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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