on master help sign in
fixed repeat_last_motion extends selection (#7159)
3334e7eEthan Wilkes
helix-term/src/commands.rs+1−1
@@ -1266,7 +1266,7 @@ where
1266
1266
1267 find_char_impl(cx.editor, &search_fn, inclusive, extend, ch, count);
1267 find_char_impl(cx.editor, &search_fn, inclusive, extend, ch, count);
1268 cx.editor.last_motion = Some(Motion(Box::new(move |editor: &mut Editor| {
1268 cx.editor.last_motion = Some(Motion(Box::new(move |editor: &mut Editor| {
1269− find_char_impl(editor, &search_fn, inclusive, true, ch, 1);
1269+ find_char_impl(editor, &search_fn, inclusive, extend, ch, 1);
1270 })));
1270 })));
1271 })
1271 })
1272}
1272}