From 79980b00fb146437231c2a110ea49032b842c92c Mon Sep 17 00:00:00 2001 From: Marc Cornellà Date: Mon, 4 Jan 2021 16:41:59 +0100 Subject: fix(vi-mode): hide cursor-change logic behind `VI_MODE_SET_CURSOR` setting Fixes #9570 --- plugins/vi-mode/README.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'plugins/vi-mode/README.md') 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. -- cgit v1.2.3-70-g09d2