From 6448b1c45ae7a2c84f1d567929a61e2a2e612a61 Mon Sep 17 00:00:00 2001 From: Bartek Stalewski Date: Thu, 8 Apr 2021 10:54:30 +0200 Subject: [PATCH] Vi mode - yet another test. --- zsh/.zshrc | 1 + zsh/p10k.zsh | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index 096a130..a878569 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -35,6 +35,7 @@ export WD_CONFIG=$XDG_CONFIG_HOME/wd_list wd () { . $ZDOTDIR/modules/wd/wd.sh } +source ~/zsh-vi-mode/zsh-vi-mode.plugin.zsh # theme source $ZDOTDIR/p10k.zsh diff --git a/zsh/p10k.zsh b/zsh/p10k.zsh index ba042e8..e4ac499 100644 --- a/zsh/p10k.zsh +++ b/zsh/p10k.zsh @@ -26,7 +26,9 @@ dir prompt_char ) - typeset -g POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=() + typeset -g POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=( + vi_mode + ) typeset -g POWERLEVEL9K_MODE=nerdfont-complete typeset -g POWERLEVEL9K_ICON_PADDING=none