mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-19 13:01:15 -03:00
bind: forward-word to go to end of line again
Fixes bbb2f0de8d (feat(vi-mode): make word movements vi-compliant,
2026-01-10)
Closes #12314
This commit is contained in:
committed by
Johannes Altmanninger
parent
f1a9b9bf43
commit
b15da3e118
@@ -3608,7 +3608,7 @@ fn handle_readline_command(&mut self, c: ReadlineCmd) {
|
||||
);
|
||||
if !is_kill {
|
||||
let (_elt, el) = self.active_edit_line_mut();
|
||||
if el.position() + 1 < el.len() {
|
||||
if el.position() < el.len() {
|
||||
el.set_position(el.position() + 1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user