diff options
| author | Aram Drevekenin <aram@poor.dev> | 2025-03-06 10:15:20 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-06 10:15:20 +0100 |
| commit | 7f417e552f3ff726d31d2b02c7416fd0faf43edc (patch) | |
| tree | abd7460e52968637c21c12ee13f14134c6a1e865 | |
| parent | fix(grid): out of bounds removal when app does not update its scroll region o... (diff) | |
| download | sl0ppij-7f417e552f3ff726d31d2b02c7416fd0faf43edc.tar.gz sl0ppij-7f417e552f3ff726d31d2b02c7416fd0faf43edc.tar.xz sl0ppij-7f417e552f3ff726d31d2b02c7416fd0faf43edc.zip | |
fix(ui): add split right/down shortcut hints to the status-bar (#4046)
| -rw-r--r-- | default-plugins/status-bar/src/one_line_ui.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/default-plugins/status-bar/src/one_line_ui.rs b/default-plugins/status-bar/src/one_line_ui.rs index 4526e6f8..83217425 100644 --- a/default-plugins/status-bar/src/one_line_ui.rs +++ b/default-plugins/status-bar/src/one_line_ui.rs @@ -1273,6 +1273,8 @@ fn get_keys_and_hints(mi: &ModeInfo) -> Vec<(String, String, Vec<KeyWithModifier (s("Toggle Floating"), s("Floating"), single_action_key(&km, &[A::ToggleFloatingPanes, TO_NORMAL])), (s("Toggle Embed"), s("Embed"), single_action_key(&km, &[A::TogglePaneEmbedOrFloating, TO_NORMAL])), + (s("Split Right"), s("Right"), single_action_key(&km, &[A::NewPane(Some(Direction::Right), None, false), TO_NORMAL])), + (s("Split Down"), s("Down"), single_action_key(&km, &[A::NewPane(Some(Direction::Down), None, false), TO_NORMAL])), (s("Select pane"), s("Select"), to_basemode_key), ]} else if mi.mode == IM::Tab { // With the default bindings, "Move focus" for tabs is tricky: It binds all the arrow keys |
