Add separate actions for Next Tab/Previous Tab (in tab strip order) #22996

Closed
opened 2026-01-31 08:29:31 +00:00 by claunia · 2 comments
Owner

Originally created by @ferenczy on GitHub (Mar 7, 2025).

Description of the new feature

It would be great to have a possibility to use both the MRU tab switching and "in tab strip order" tab switching at the same time, like, for example, iTerm2 has (key bindings "Cycle Tabs Forward/Backward" for MRU switching and "Next/Previous Tab" for in order switching). If I understand it right, Windows Terminal currently forces me to pick just one of those methods. Unfortunately, I'm used to both methods - MRU usually when I need to switch back and forth between just two specific tabs, "in order" when I'm working with more tabs located close together.

Proposed technical implementation details

  1. Just add 2 new actions - "Next tab in order" and "Previous tab in order" so a user can assign a keyboard shortcut to them.
  2. The current actions "Next tab" and "Previous tab" can then be "hardcoded" to use the MRU order.
  3. The setting "Tab switcher interface style" can be completely removed or just simplified by merging its two options "in most recently used order" and "in tab strip order" together.
Originally created by @ferenczy on GitHub (Mar 7, 2025). ### Description of the new feature It would be great to have a possibility to use both the MRU tab switching and "in tab strip order" tab switching at the same time, like, for example, iTerm2 has (key bindings "Cycle Tabs Forward/Backward" for MRU switching and "Next/Previous Tab" for in order switching). If I understand it right, Windows Terminal currently forces me to pick just one of those methods. Unfortunately, I'm used to both methods - MRU usually when I need to switch back and forth between just two specific tabs, "in order" when I'm working with more tabs located close together. ### Proposed technical implementation details 1. Just add 2 new actions - "Next tab in order" and "Previous tab in order" so a user can assign a keyboard shortcut to them. 2. The current actions "Next tab" and "Previous tab" can then be "hardcoded" to use the MRU order. 3. The setting "Tab switcher interface style" can be completely removed or just simplified by merging its two options "in most recently used order" and "in tab strip order" together.
claunia added the Issue-FeatureNeeds-TriageNeeds-Tag-Fix labels 2026-01-31 08:29:31 +00:00
Author
Owner

@PankajBhojwani commented on GitHub (Mar 12, 2025):

Thank you for the request! This already exists (you can customize the next tab/prev tab command to behave the way you want it to via the tabSwitcherMode parameter, and then assign a keybinding to that command specifically!) - customize actions

@PankajBhojwani commented on GitHub (Mar 12, 2025): Thank you for the request! This already exists (you can customize the next tab/prev tab command to behave the way you want it to via the `tabSwitcherMode` parameter, and then assign a keybinding to that command specifically!) - [customize actions](https://learn.microsoft.com/en-us/windows/terminal/customize-settings/actions#parameters-7)
Author
Owner

@DHowett commented on GitHub (Mar 12, 2025):

I've written up the actions you'll need in your JSON file here: https://github.com/microsoft/terminal/issues/18150#issuecomment-2458029307

@DHowett commented on GitHub (Mar 12, 2025): I've written up the actions you'll need in your JSON file here: https://github.com/microsoft/terminal/issues/18150#issuecomment-2458029307
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#22996