mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-23 08:31:16 -03:00
As reported in https://matrix.to/#/!YLTeaulxSDauOOxBoR:matrix.org/$n20_uqiMqatEQcPG79Ca0c2_YvHBHTr-yCVXTEuze_Y commitf5fac096c0(Don't move cursor in delete-char, 2017-04-19) fixed the behavior of Vi mode keys "delete" and "x" when the cursor is at the end of the buffer, and commitd51f669647(Vi mode: avoid placing cursor beyond last character, 2024-02-14) generalized this fix. This means that the delete-specific fix is no longer necessary. Remove it. Note that if the cursor is at end of a line but not the last line, the behavior of "delete" in Vi mode is still wrong. It should stay on the line.