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/main.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index f70ee8b4..c32cfe53 100644 --- a/src/main.rs +++ b/src/main.rs @@ -196,6 +196,8 @@ const DEFAULT_CONFIG: &str = r##"# herdr configuration # rename_tab = "prefix+shift+t" # previous_tab = "prefix+p" # next_tab = "prefix+n" +# move_tab_previous = "" # optional, e.g. "alt+shift+left" moves the tab toward the front +# move_tab_next = "" # optional, e.g. "alt+shift+right" moves the tab toward the back # switch_tab = "prefix+1..9" # switch_workspace = "" # optional indexed binding, e.g. "prefix+shift+1..9" # close_tab = "prefix+shift+x" -- cgit v1.2.3