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/main.rs | |
| 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/main.rs')
| -rw-r--r-- | src/main.rs | 2 |
1 files changed, 2 insertions, 0 deletions
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" |
