summaryrefslogtreecommitdiff
path: root/plugins/vi-mode/README.md
diff options
context:
space:
mode:
authorMarc Cornellà <marc.cornella@live.com>2021-01-04 16:41:59 +0100
committerMarc Cornellà <marc.cornella@live.com>2021-01-04 21:31:07 +0100
commit79980b00fb146437231c2a110ea49032b842c92c (patch)
tree30ffa8140311136a0267e785698e23401c21fee1 /plugins/vi-mode/README.md
parent94ce46d48b901ed9e581ccad22d9192c25507acd (diff)
downloadzsh-79980b00fb146437231c2a110ea49032b842c92c.tar.gz
zsh-79980b00fb146437231c2a110ea49032b842c92c.tar.bz2
zsh-79980b00fb146437231c2a110ea49032b842c92c.zip
fix(vi-mode): hide cursor-change logic behind `VI_MODE_SET_CURSOR` setting
Fixes #9570
Diffstat (limited to 'plugins/vi-mode/README.md')
-rw-r--r--plugins/vi-mode/README.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/vi-mode/README.md b/plugins/vi-mode/README.md
index fdf3ede73..41faf2de0 100644
--- a/plugins/vi-mode/README.md
+++ b/plugins/vi-mode/README.md
@@ -22,6 +22,13 @@ plugins=(... vi-mode)
The default value is unset, unless `vi_mode_prompt_info` is used, in which case it'll
automatically be set to `true`.
+- `VI_MODE_SET_CURSOR`: controls whether the cursor style is changed when switching
+ to a different input mode. Set it to `true` to enable it (default: unset):
+
+ ```zsh
+ VI_MODE_SET_CURSOR=true
+ ```
+
- `MODE_INDICATOR`: controls the string displayed when the shell is in normal mode.
See [Mode indicator](#mode-indicator) for details.