Skip to content

docs: Document visual mode bindings for multi-line insert/append#48156

Merged
yeskunall merged 4 commits intozed-industries:mainfrom
ti0ma:docs/44420-multiline-insert
Feb 2, 2026
Merged

docs: Document visual mode bindings for multi-line insert/append#48156
yeskunall merged 4 commits intozed-industries:mainfrom
ti0ma:docs/44420-multiline-insert

Conversation

@ti0ma
Copy link
Contributor

@ti0ma ti0ma commented Feb 1, 2026

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

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Feb 1, 2026
@maxdeviant maxdeviant changed the title docs(vim): Document visual mode bindings for multi-line insert/append docs: Document visual mode bindings for multi-line insert/append Feb 1, 2026
Copy link
Member

@yeskunall yeskunall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I’m confused: the 2 actions you’ve referenced do not exist. Did you mean vim::VisualInsertEndOfLine and vim::VisualInsertFirstNonWhiteSpace like you wrote in your comment here?

@ti0ma
Copy link
Contributor Author

ti0ma commented Feb 2, 2026

Hey! Thanks for the review. I didn't know there were already default bindings for those commands, that's why I had my own binding in the config (as mentioned in the issue). About the commands themselves, I mixed them up; the right ones are vim::VisualInsertEndOfLine and vim::VisualInsertFirstNonWhiteSpace as you pointed out.

Since the default bindings exist, I think both the content and the section of the initial commit aren't quite right. So I added the g I and g A shortcuts under "Multi Cursor" section, where I believe they belong.

@yeskunall yeskunall enabled auto-merge (squash) February 2, 2026 11:35
@yeskunall
Copy link
Member

I rearranged the items but otherwise this looks good. Thanks!

@yeskunall yeskunall merged commit 33fbc71 into zed-industries:main Feb 2, 2026
27 checks passed
adb-sh pushed a commit to adb-sh/zed that referenced this pull request Feb 5, 2026
…-industries#48156)

Closes zed-industries#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 <hey@kimchiii.space>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

multi select in vim, then I key should do multi line insert, it does not do this

2 participants