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
Describe the bug
With whichwrap configured with the l flag, when the cursor is positioned on the last character in a line and the command dl is entered, both the the last character on the line and the newline are deleted.
To Reproduce
Steps to reproduce the behavior:
Configure "vim.whichwrap": "h,l"
Open a file with several lines of text
Type "$dl" on the first line
See that the last character and the newline for the first line have been deleted.
Expected behavior
Only the last character should have been deleted.
Environment (please complete the following information):
Extension (VsCodeVim) version: 1.11
VSCode version: 1.39-insider
OS: macOS/Linux/Windows
The text was updated successfully, but these errors were encountered:
J-Fields
changed the title
Deleting last character on line deletes newline with 'whichwrap'
Deleting last character on line deletes newline with 'whichwrap'Oct 15, 2021
J-Fields
changed the title
Deleting last character on line deletes newline with 'whichwrap'dl on last character of line deletes newline when whichwrap=lOct 15, 2021
Describe the bug
With whichwrap configured with the
l
flag, when the cursor is positioned on the last character in a line and the commanddl
is entered, both the the last character on the line and the newline are deleted.To Reproduce
Steps to reproduce the behavior:
"vim.whichwrap": "h,l"
Expected behavior
Only the last character should have been deleted.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: