@@ -162,6 +162,7 @@ impl Command {
163 #[rustfmt::skip]
163 #[rustfmt::skip]
164 commands!(
164 commands!(
165+ no_op, "Do nothing",
165 move_char_left, "Move left",
166 move_char_left, "Move left",
166 move_char_right, "Move right",
167 move_char_right, "Move right",
167 move_line_up, "Move up",
168 move_line_up, "Move up",
@@ -361,6 +362,8 @@ impl PartialEq for Command {
365+fn no_op(_cx: &mut Context) {}
364fn move_impl<F>(cx: &mut Context, move_fn: F, dir: Direction, behaviour: Movement)
367fn move_impl<F>(cx: &mut Context, move_fn: F, dir: Direction, behaviour: Movement)
366 F: Fn(RopeSlice, Range, Direction, usize, Movement) -> Range,
369 F: Fn(RopeSlice, Range, Direction, usize, Movement) -> Range,