From f5067ed829ae5743499916b941b2310c50681f29 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 10 Aug 2026 00:55:28 +0200 Subject: 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 --- src/ui/keybind_help.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ui') 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 { 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"), ]; -- cgit v1.2.3