aboutsummaryrefslogtreecommitdiff
path: root/internal/p10k.zsh
diff options
context:
space:
mode:
authorRoman Perepelitsa <roman.perepelitsa@gmail.com>2019-07-02 09:38:35 +0300
committerGitHub <noreply@github.com>2019-07-02 09:38:35 +0300
commit09cebc28876a23bd276da5fe5be9895c82da88e1 (patch)
treed439a253680f62c78f690f1e513c856fa396027c /internal/p10k.zsh
parent9a54f84be1a563f4edc0c6cce8b364a66997a4a7 (diff)
set VI_KEYMAP in zle-keymap-select
Diffstat (limited to 'internal/p10k.zsh')
-rwxr-xr-xinternal/p10k.zsh3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index 4c5206fe..966bcfb9 100755
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -2317,6 +2317,7 @@ powerlevel9k_prepare_prompts() {
}
function _p9k_zle_keymap_select() {
+ VI_KEYMAP=$KEYMAP
zle && zle .reset-prompt && zle -R
}
@@ -2826,4 +2827,4 @@ zmodload zsh/mathfunc
zmodload zsh/system
zmodload -F zsh/stat b:zstat
-prompt_powerlevel9k_setup \ No newline at end of file
+prompt_powerlevel9k_setup