diff options
author | Blaž Hrastnik | 2021-07-04 09:02:42 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-07-04 09:02:42 +0000 |
commit | 6ce303977c4564704ca880353e16c995c7686bff (patch) | |
tree | 59a7b88ca58fbe856e19c8fb49345574ce003d47 /helix-term | |
parent | 916362d3a97ddc1b4a630f7d7ba5ae5dc405c21a (diff) |
Revert back to 'gm'
top / middle / bottom mnemonic.
Diffstat (limited to 'helix-term')
-rw-r--r-- | helix-term/src/commands.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index cae474d3..c345f3ba 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -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 @@ -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 |