You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When yanking to end of file (yG) on a wrapped line in vim mode, the operation truncates content after the first visual line break instead of copying the entire logical line.
Steps:
Open file with wrapped content
Position cursor at start
Press yG
Expected (as in vim/nvim): Yanks entire file content including wrapped portions
Actual: Yanks only until first visual line break
Sample file content showing the issue:
Zed is already much closer to Vim. We have extensive "side-by-side" testing where we run headless Neovim to ensure our keyboard shortcuts do exactly the same thing. That said, there's always more to do, both to add the remaining minor motions zL/zH come to mind, and fix edge cases in things like d]}.
yG output:
Zed is already much closer to Vim. We have extensive "side-by-side" testing where we
koskeller
changed the title
yG incorrectly truncates yanked text when last line wraps
yG incorrectly truncates yanked text when last line wraps in vim mode
Jan 24, 2025
Check for existing issues
Describe the bug / provide steps to reproduce it
When yanking to end of file (yG) on a wrapped line in vim mode, the operation truncates content after the first visual line break instead of copying the entire logical line.
Steps:
Expected (as in vim/nvim): Yanks entire file content including wrapped portions
Actual: Yanks only until first visual line break
Sample file content showing the issue:
yG output:
Zed Version and System Specs
Zed: v0.170.2 (Zed)
OS: macOS 14.6.1
Memory: 72 GiB
Architecture: x86_64
If applicable, add screenshots or screencasts of the incorrect state / behavior
If applicable, attach your Zed.log file to this issue.
Zed.log
The text was updated successfully, but these errors were encountered: