diff options
| author | David Heinemeier Hansson <david@hey.com> | 2026-08-10 00:55:28 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-10 01:55:28 +0300 |
| commit | f5067ed829ae5743499916b941b2310c50681f29 (patch) | |
| tree | 1695386cd3256ea9be1916e4385d1bbbe90d8748 /src/ui | |
| parent | e48d83067a5a9b05dfd0a82761068866ab2d294d (diff) | |
feat: add move tab keybind actions (#2561)
* feat: add move tab keybind actions
Add optional keys.move_tab_previous/move_tab_next actions that reorder
the active tab one position, wrapping at either end. Reuses the
existing tab.move runtime path that mouse drag reordering already
drives.
* fix: exit navigate mode on single-tab move attempts
Diffstat (limited to 'src/ui')
| -rw-r--r-- | src/ui/keybind_help.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/keybind_help.rs b/src/ui/keybind_help.rs index b390ab86..1f01c60c 100644 --- a/src/ui/keybind_help.rs +++ b/src/ui/keybind_help.rs @@ -131,6 +131,8 @@ pub(super) fn keybind_help_groups(app: &AppState) -> Vec<HelpGroup> { help_entry(keybind_label(&kb.rename_tab), "rename tab"), help_entry(keybind_label(&kb.previous_tab), "previous tab"), help_entry(keybind_label(&kb.next_tab), "next tab"), + help_entry(keybind_label(&kb.move_tab_previous), "move tab left"), + help_entry(keybind_label(&kb.move_tab_next), "move tab right"), help_entry(indexed_label(&kb.switch_tab), "switch tab 1-9"), help_entry(keybind_label(&kb.close_tab), "close tab"), ]; |
