diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index 116c63787..911c9c1f7 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -1266,7 +1266,7 @@ fn will_find_char(cx: &mut Context, search_fn: F, inclusive: bool, extend: bo find_char_impl(cx.editor, &search_fn, inclusive, extend, ch, count); cx.editor.last_motion = Some(Motion(Box::new(move |editor: &mut Editor| { - find_char_impl(editor, &search_fn, inclusive, true, ch, 1); + find_char_impl(editor, &search_fn, inclusive, extend, ch, 1); }))); }) }