@@ -451,7 +451,7 @@ fn goto_window_top(cx: &mut Context) {
451 doc.set_selection(view.id, Selection::point(pos));
451 doc.set_selection(view.id, Selection::point(pos));
454−fn goto_window_center(cx: &mut Context) {
454+fn goto_window_middle(cx: &mut Context) {
455 let (view, doc) = current!(cx.editor);
455 let (view, doc) = current!(cx.editor);
457 let scrolloff = PADDING.min(view.area.height as usize / 2); // TODO: user pref
457 let scrolloff = PADDING.min(view.area.height as usize / 2); // TODO: user pref
@@ -3723,7 +3723,7 @@ mode_info! {
3723 /// window top
3723 /// window top
3724 "t" => goto_window_top,
3724 "t" => goto_window_top,
3725 /// window center
3725 /// window center
3726− "c" => goto_window_center,
3726+ "m" => goto_window_middle,
3727 /// window bottom
3727 /// window bottom
3728 "b" => goto_window_bottom,
3728 "b" => goto_window_bottom,
3729 /// last accessed file
3729 /// last accessed file