-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Closed
Copy link
Labels
area:editorFeedback for code editing, formatting, editor iterations, etcFeedback for code editing, formatting, editor iterations, etcarea:parity/vimFeedback for Vim parity featuresFeedback for Vim parity featuresstate:reproducibleVerified steps to reproduce included and someone on the team managed to reproduceVerified steps to reproduce included and someone on the team managed to reproduce
Description
Summary
Pasting Using CMD+V in Visual Mode Doesn't Fully Replace Selected Lines
Description
When attempting to replace lines in standard vim, if you select lines using visual mode, then paste using CMD+v, it replaces all selected content. In zed, however, it replaces only after the cursor. If using p instead of CMD+v in Vim mode, it will fully replace the selected content.
Steps to reproduce:
- Ensure Zed is in Vim mode
- Add content to a file
- Select lines to replace using visual mode (
Shift+v), ensuring that the cursor is in the middle of a line - Use
CMD+Vto paste and replace selected content instead ofp
Expected Behavior: All selected content is replaced with content from clipboard
Actual Behavior: Only selected content past the cursor is replaced with content from clipboard
Demo:
Screen.Recording.2025-11-03.at.12.00.12.mov
Zed Version and System Specs
Zed: v0.210.4 (Zed)
OS: macOS 26.0.1
Memory: 64 GiB
Architecture: aarch64
Metadata
Metadata
Assignees
Labels
area:editorFeedback for code editing, formatting, editor iterations, etcFeedback for code editing, formatting, editor iterations, etcarea:parity/vimFeedback for Vim parity featuresFeedback for Vim parity featuresstate:reproducibleVerified steps to reproduce included and someone on the team managed to reproduceVerified steps to reproduce included and someone on the team managed to reproduce