Skip to content

Behavior of some word movements #94

@tardypad

Description

@tardypad

Using the latest version from the repo with default config

Here are some movements which should be fixed to make them consistent with vim behavior.

  • dw wrong cursor position
    setup: buffer correct horse battery staple with cursor on r of horse.
    press: dw
    result: buffer correct hobattery staple with cursor on e of battery
    expected: same buffer but cursor on b of battery
    (similar problem appears if the cursor is initially at the beginning of the word)

  • cw wrong buffer and cursor position
    setup: buffer correct horse battery staple with cursor on r of horse.
    press: cw
    result: buffer correct hobattery staple with cursor on b
    expected: buffer correct ho battery staple with cursor on space between ho and battery
    (similar problem appears if the cursor is initially at the beginning of the word)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions