on master help sign in
Revert back to 'gm'

top / middle / bottom mnemonic.

commit6ce303977c4564704ca880353e16c995c7686bff authorBlaž Hrastnik <blaz@mxxn.io> dateSun 4 Jul 2021, 18:02 (5 years ago) parent916362d
1 file changed+2−2
helix-term/src/commands.rs+2−2
helix-term/src/commands.rs+2−2
@@ -451,7 +451,7 @@ fn goto_window_top(cx: &mut Context) {
451451 doc.set_selection(view.id, Selection::point(pos));
452452}
453453
454−fn goto_window_center(cx: &mut Context) {
454+fn goto_window_middle(cx: &mut Context) {
455455 let (view, doc) = current!(cx.editor);
456456
457457 let scrolloff = PADDING.min(view.area.height as usize / 2); // TODO: user pref
@@ -3723,7 +3723,7 @@ mode_info! {
37233723 /// window top
37243724 "t" => goto_window_top,
37253725 /// window center
3726− "c" => goto_window_center,
3726+ "m" => goto_window_middle,
37273727 /// window bottom
37283728 "b" => goto_window_bottom,
37293729 /// last accessed file