Skip to content

[vi-mode] bug: incorrect d behavior #12461

Description

@Nukesor

Version: fish, version 4.5.0
OS: Arch Linux
No plugins, just normal config stuff

When in normal vi mode, dl and dh behave not like vi, which is a recent regression. My guess would be #12269 .

  • dl: Should delete the current char under the curser. Currently deletes the char under curser + the next char. In vi that would be d2l.
  • dh: Should delete the char left from the curser. Currently deletes the char beneath the curser + the char to the left. d2h should delete the two chars left of the cursor, never beneath the cursor.

There were also some other d related issues, but those seem to have already been fixed with 4.5 :)

Best regards and thanks for your work on fish!

Metadata

Metadata

Assignees

No one assigned

    Labels

    regressionSomething that used to work, but was broken, especially between releasesvi-mode

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions