diff options
author | Aram Drevekenin <aram@poor.dev> | 2023-08-29 20:55:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-29 20:55:45 +0200 |
commit | d895f358b239752aa8db49116bd067f4e63aee40 (patch) | |
tree | abb964cfdde7d57972c16f3079c6189a7668c367 /default-plugins/status-bar/src | |
parent | 24ce348bb22730abd018ce9fa2fac2cb20f7c026 (diff) |
fix(status-bar): add break tab hints (#2748)
* fix(status-bar): add break tab hints
* fix(tests): update snapshot to new hints
Diffstat (limited to 'default-plugins/status-bar/src')
-rw-r--r-- | default-plugins/status-bar/src/second_line.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/default-plugins/status-bar/src/second_line.rs b/default-plugins/status-bar/src/second_line.rs index e505e66aa..d31218fd3 100644 --- a/default-plugins/status-bar/src/second_line.rs +++ b/default-plugins/status-bar/src/second_line.rs @@ -180,6 +180,11 @@ fn get_keys_and_hints(mi: &ModeInfo) -> Vec<(String, String, Vec<Key>)> { (s("Rename"), s("Rename"), action_key(&km, &[A::SwitchToMode(IM::RenameTab), A::TabNameInput(vec![0])])), (s("Sync"), s("Sync"), action_key(&km, &[A::ToggleActiveSyncTab, TO_NORMAL])), + (s("Break pane to new tab"), s("Break out"), action_key(&km, &[A::BreakPane, TO_NORMAL])), + (s("Break pane left/right"), s("Break"), action_key_group(&km, &[ + &[Action::BreakPaneLeft, TO_NORMAL], + &[Action::BreakPaneRight, TO_NORMAL], + ])), (s("Toggle"), s("Toggle"), action_key(&km, &[A::ToggleTab])), (s("Select pane"), s("Select"), to_normal_key), ]} else if mi.mode == IM::Resize { vec![ |