Skip to content

Unexpected behavior of backspace key in replacing mode by pressing R #74

@jeffreytse

Description

@jeffreytse

Reproduce

  • Open a new terminal.
  • Input the content as below.
foo
bar
baz
  • Put the cursor at the "f".
  • Enter normal mode and press R and ww.
  • Press <Backspace> to undo the replace

Result

The replaced character was deleted as below.

fo
bar
baz

Expected behavior

The replaced character should be recovered.

woo
bar
baz

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingverifiedThis issue was already verified

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions