aboutsummaryrefslogtreecommitdiffstats
path: root/default-plugins/status-bar/src
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2025-07-01 20:17:37 +0200
committerGitHub <noreply@github.com>2025-07-01 20:17:37 +0200
commitca0048bdcb6d5f3bc0d7f05806efe1319a218e93 (patch)
tree38c61a2251b8126530098babc414a70d0b4ea0c9 /default-plugins/status-bar/src
parentdocs(changelog): replace pane API (diff)
downloadsl0ppij-ca0048bdcb6d5f3bc0d7f05806efe1319a218e93.tar.gz
sl0ppij-ca0048bdcb6d5f3bc0d7f05806efe1319a218e93.tar.xz
sl0ppij-ca0048bdcb6d5f3bc0d7f05806efe1319a218e93.zip
feat: stack pane action (#4255)
* refactor: group placement properties * add stackpane cli and keybinding * add test * refactor: move spawn vertically/horizontally to spawnterminal * fix tests and cleanups * some cleanups and minor fixes * more cleanups * add stack action to the UI * style(fmt): rustfmt * fix serialization * add to default config * fix e2e tests * style(fmt): rustfmt * fix cli * fix tests * docs(changelog): add PR
Diffstat (limited to 'default-plugins/status-bar/src')
-rw-r--r--default-plugins/status-bar/src/one_line_ui.rs1
1 files changed, 1 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 23d3c133..1902ac63 100644
--- a/default-plugins/status-bar/src/one_line_ui.rs
+++ b/default-plugins/status-bar/src/one_line_ui.rs
@@ -1276,6 +1276,7 @@ fn get_keys_and_hints(mi: &ModeInfo) -> Vec<(String, String, Vec<KeyWithModifier
(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("Stack"), s("Stack"), single_action_key(&km, &[A::NewStackedPane(None, None), 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