summaryrefslogtreecommitdiff
path: root/plugins/vi-mode/README.md
diff options
context:
space:
mode:
authorMarc Cornellà <marc.cornella@live.com>2021-01-04 21:41:11 +0100
committerMarc Cornellà <marc.cornella@live.com>2021-01-04 21:41:11 +0100
commit2118d35e017eb8c599f3c25863c8263aca307541 (patch)
tree199cac09650e3a7596671ab52c63322b05542dbc /plugins/vi-mode/README.md
parent79980b00fb146437231c2a110ea49032b842c92c (diff)
downloadzsh-2118d35e017eb8c599f3c25863c8263aca307541.tar.gz
zsh-2118d35e017eb8c599f3c25863c8263aca307541.tar.bz2
zsh-2118d35e017eb8c599f3c25863c8263aca307541.zip
fix(vi-mode)!: add back edit-command-line key binding as 'vv' (#9573)
BREAKING CHANGE: the key binding to open an editor to edit the command line has been moved from being `v` (press v once) to being `vv` (press v twice). Now, the action for `v` is the default `visual-mode`, as is in Vim. Fixes #9573
Diffstat (limited to 'plugins/vi-mode/README.md')
-rw-r--r--plugins/vi-mode/README.md14
1 files changed, 8 insertions, 6 deletions
diff --git a/plugins/vi-mode/README.md b/plugins/vi-mode/README.md
index 41faf2de0..b59d5f279 100644
--- a/plugins/vi-mode/README.md
+++ b/plugins/vi-mode/README.md
@@ -60,6 +60,12 @@ NOTE: some of these key bindings are set by zsh by default when using a vi-mode
- `/` : Search backward in history
- `n` : Repeat the last `/`
+### Vim edition
+
+- `vv` : Edit current command line in Vim
+
+NOTE: this used to be bound to `v`. That is now the default (`visual-mode`)
+
### Movement
- `$` : To the end of the line
@@ -99,9 +105,5 @@ NOTE: some of these key bindings are set by zsh by default when using a vi-mode
- `C` : Delete to the end of the line and start insert
- `r{char}` : Replace the character under the cursor with {char}
- `R` : Enter replace mode: Each character replaces existing one
-- `x` : Delete [count] characters under and after the cursor
-- `X` : Delete [count] characters before the cursor
-
-### Removed key bindings
-
-- `v` : Edit current command line in Vim
+- `x` : Delete `count` characters under and after the cursor
+- `X` : Delete `count` characters before the cursor