From 33fbc7163abde5d31799d94ec23b64069d814671 Mon Sep 17 00:00:00 2001 From: Artem Molonosov Date: Mon, 2 Feb 2026 12:38:00 +0100 Subject: [PATCH] docs: Document visual mode bindings for multi-line insert/append (#48156) Closes #44420 Added instructions and example keybindings to enable multi-cursor insert (`shift-i`) and append (`shift-a`) actions in visual mode, making it easier for users to perform these actions on multiple lines simultaneously. Release Notes: - N/A --------- Co-authored-by: Kunall Banerjee --- docs/src/vim.md | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/docs/src/vim.md b/docs/src/vim.md index 2c3311e712030c083e0b3112e38bfa00b30bf587..4ff66e9db207a0b8770dca9d33b2fc81c1dbfea4 100644 --- a/docs/src/vim.md +++ b/docs/src/vim.md @@ -124,13 +124,15 @@ per language. These commands help you manage multiple cursors in Zed. -| Command | Default Shortcut | -| ------------------------------------------------------------ | ---------------- | -| Add a cursor selecting the next copy of the current word | `g l` | -| Add a cursor selecting the previous copy of the current word | `g L` | -| Skip latest word selection, and add next | `g >` | -| Skip latest word selection, and add previous | `g <` | -| Add a visual selection for every copy of the current word | `g a` | +| Command | Default Shortcut | +| --------------------------------------------------------------------------------- | ---------------- | +| Add a cursor selecting the next copy of the current word | `g l` | +| Add a cursor selecting the previous copy of the current word | `g L` | +| Add a cursor at the end of every line in the current visual selection | `g A` | +| Add a cursor at the first character of every line in the current visual selection | `g I` | +| Add a visual selection for every copy of the current word | `g a` | +| Skip latest word selection, and add next | `g >` | +| Skip latest word selection, and add previous | `g <` | ### Pane management