Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Last character of command line gets shifted on replace in vi mode #11484

Copy link
Copy link

Description

@lucilanga
Issue body actions

fish --no-config -C 'fish --no-config --init-command=fish_vi_key_bindings'
Type any random text: abcd
Hit escape to return to normal mode.
Press 'r' to enter replace and type 'e' to replace the last character 'd' with 'e'
The result is: 'abed' instead of 'abce' (the cursor is shifted one place as well)
Replacing any other character is fine.
Tested with 5575272 but I believe all 4.x versions show this behavior.
3.x works fine.

Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

regressionSomething that used to work, but was broken, especially between releasesSomething that used to work, but was broken, especially between releases

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

Morty Proxy This is a proxified and sanitized view of the page, visit original site.