Skip to content

Commit

Permalink
Revert back to 'gm'
Browse files Browse the repository at this point in the history
top / middle / bottom mnemonic.
  • Loading branch information
archseer committed Jul 4, 2021
1 parent 916362d commit 6ce3039
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helix-term/src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ fn goto_window_top(cx: &mut Context) {
doc.set_selection(view.id, Selection::point(pos));
}

fn goto_window_center(cx: &mut Context) {
fn goto_window_middle(cx: &mut Context) {
let (view, doc) = current!(cx.editor);

let scrolloff = PADDING.min(view.area.height as usize / 2); // TODO: user pref
Expand Down Expand Up @@ -3723,7 +3723,7 @@ mode_info! {
/// window top
"t" => goto_window_top,
/// window center
"c" => goto_window_center,
"m" => goto_window_middle,
/// window bottom
"b" => goto_window_bottom,
/// last accessed file
Expand Down

0 comments on commit 6ce3039

Please sign in to comment.