fix(ui): add split right/down shortcut hints to the status-bar (#4046)
This commit is contained in:
parent
1a8c3d7c94
commit
7f417e552f
1 changed files with 2 additions and 0 deletions
|
|
@ -1273,6 +1273,8 @@ fn get_keys_and_hints(mi: &ModeInfo) -> Vec<(String, String, Vec<KeyWithModifier
|
||||||
(s("Toggle Floating"), s("Floating"),
|
(s("Toggle Floating"), s("Floating"),
|
||||||
single_action_key(&km, &[A::ToggleFloatingPanes, TO_NORMAL])),
|
single_action_key(&km, &[A::ToggleFloatingPanes, TO_NORMAL])),
|
||||||
(s("Toggle Embed"), s("Embed"), single_action_key(&km, &[A::TogglePaneEmbedOrFloating, 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),
|
(s("Select pane"), s("Select"), to_basemode_key),
|
||||||
]} else if mi.mode == IM::Tab {
|
]} else if mi.mode == IM::Tab {
|
||||||
// With the default bindings, "Move focus" for tabs is tricky: It binds all the arrow keys
|
// With the default bindings, "Move focus" for tabs is tricky: It binds all the arrow keys
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue