Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dl on last character of line deletes newline when whichwrap=l #4144

Open
jseba opened this issue Oct 6, 2019 · 0 comments
Open

dl on last character of line deletes newline when whichwrap=l #4144

jseba opened this issue Oct 6, 2019 · 0 comments
Labels
Milestone

Comments

@jseba
Copy link

jseba commented Oct 6, 2019

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:

  1. Configure "vim.whichwrap": "h,l"
  2. Open a file with several lines of text
  3. Type "$dl" on the first line
  4. 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
@J-Fields 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 J-Fields changed the title Deleting last character on line deletes newline with 'whichwrap' dl on last character of line deletes newline when whichwrap=l Oct 15, 2021
@J-Fields J-Fields added this to the Backlog milestone Oct 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants