Skip to content

Commit 086f516

Browse files
committed
changes to change mode line indicator for vi-mode
1 parent 90035c6 commit 086f516

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

executable_dot_zshrc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ mkdir -p "$ZSH_CACHE_DIR/completions"
2626
zinit snippet OMZP::mise
2727
zinit snippet OMZL::git.zsh
2828
zinit snippet OMZP::git
29-
# zinit snippet OMZP::vi-mode
29+
zinit snippet OMZP::vi-mode
3030

3131
# Load completions
3232
autoload -Uz compinit && compinit
@@ -87,7 +87,8 @@ export GOPATH=$HOME/go
8787
export PATH="/Applications/IntelliJ IDEA.app/Contents/MacOS:$PATH"
8888

8989
# for vim-mode in terminal using ohmyzsh plugins
90-
export VI_MODE_SET_CURSOR=true
90+
MODE_INDICATOR="NORMAL->"
91+
PROMPT="$PROMPT\$(vi_mode_prompt_info)"
9192

9293
### MANAGED BY RANCHER DESKTOP START (DO NOT EDIT)
9394
export PATH="$HOME/.rd/bin:$PATH"

0 commit comments

Comments
 (0)