Keyboard shortcut to rename the current tab
Problem
I rename tabs often while running several agent sessions side by side. In the web UI the only way today is the tab's context menu (New tab / Rename / Close). That means reaching for the mouse every time, while most other actions (command palette, new workspace, settings, pane switching) already have a keyboard shortcut.
Proposal
Add a "Rename tab" shortcut that puts the current tab's label into edit mode, the same inline editor the context menu opens today.
- Enter saves, Escape cancels, as the menu rename already does.
- Make it listed in the shortcut settings so it can be rebound, like the other entries in
SHORTCUTS. - A "Rename tab" command in the command palette would also help, if it is not there yet.
- Default key: something in the existing Mod+Shift family that browsers let through (for example Mod+Shift+R is taken by hard reload in Chrome, so maybe Mod+Shift+E or Alt+R). Happy with whatever fits your scheme.
Optionally the same for "Rename workspace", since herdr has both.
Where
Sidebar and navigation
Where it exists today
herdr's own TUI has it: rename_tab is a keybinding with default prefix+shift+t (also rename_workspace = prefix+shift+w, rename_pane = prefix+shift+p in herdr --default-config). So this would mirror the TUI in the web UI.
Workarounds and alternatives
Right-click the tab and pick Rename. Or rename from a herdr terminal session. Both work, but they break the keyboard-only flow.
I have this implemented on a branch, following the New tab pattern: a rebindable "Rename tab" shortcut with no default key, and a "Rename tab" palette action. Both open the same inline name field as the tab menu's Rename. Would you take a PR?