Keyboard shortcut to move / re-order tabs #23177

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

Originally created by @sparrowt on GitHub (Apr 17, 2025).

Originally assigned to: @zadjii-msft on GitHub.

Description of the new feature

It would be really handy to have an "action" for Move tab left and Move tab right to actually reorder the tabs, so that a keyboard shortcut can be assigned to this functionality. This is only possible via mouse drag and drop at present.

Currently there are keyboard shortcuts for moving focus to the left/right/previous/next tab, but not for actually moving the current tab to be further left or right.

I'm not sure if there is a suitable default keybinding for this (which does not conflict) but having the option to assign one, even if it is empty by default, would be super handy.

Proposed technical implementation details

No response

Originally created by @sparrowt on GitHub (Apr 17, 2025). Originally assigned to: @zadjii-msft on GitHub. ### Description of the new feature It would be really handy to have an "action" for `Move tab left` and `Move tab right` to actually reorder the tabs, so that a keyboard shortcut can be assigned to this functionality. This is only possible via mouse drag and drop at present. Currently there are keyboard shortcuts for moving _focus_ to the left/right/previous/next tab, but not for actually moving the current tab to be further left or right. I'm not sure if there is a suitable default keybinding for this (which does not conflict) but having the option to assign one, even if it is empty by default, would be super handy. ### Proposed technical implementation details _No response_
claunia added the Issue-QuestionNeeds-TriageNeeds-Tag-FixResolution-Answered labels 2026-01-31 08:34:32 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Apr 23, 2025):

This is already possible: Move tab

// Move tab backward (left in LTR)
{ "command": { "action": "moveTab", "direction": "backward" }, "keys": "ctrl+[" }

// Move tab forward (right in LTR)
{ "command": { "action": "moveTab", "direction": "forward" }, "keys": "ctrl+]" }
@zadjii-msft commented on GitHub (Apr 23, 2025): This is already possible: [Move tab](https://learn.microsoft.com/en-us/windows/terminal/customize-settings/actions#move-tab) ```jsonc // Move tab backward (left in LTR) { "command": { "action": "moveTab", "direction": "backward" }, "keys": "ctrl+[" } // Move tab forward (right in LTR) { "command": { "action": "moveTab", "direction": "forward" }, "keys": "ctrl+]" } ```
Author
Owner

@sparrowt commented on GitHub (May 13, 2025):

Ah excellent!

This isn't showing up under Actions in the UI settings (Windows Terminal version: 1.22.11141.0 which seems to be the latest in the store) so perhaps it is only available to set via JSON settings?

EDIT: I've just found the Add new button at the top which was somehow invisible to me before... and sure enough Move tab forward (right) and Move tab backward (left) are available to be added 🎉
(Having not seen the add new button I had been assuming that all possible actions were listed and could not see them in the list!)

@sparrowt commented on GitHub (May 13, 2025): Ah excellent! This isn't showing up under `Actions` in the UI settings (Windows Terminal version: 1.22.11141.0 which seems to be the latest in the store) so perhaps it is only available to set via JSON settings? EDIT: I've just found the `Add new` button at the top which was somehow invisible to me before... and sure enough `Move tab forward` (right) and `Move tab backward` (left) are available to be added 🎉 (Having not seen the add new button I had been assuming that all possible actions were listed and could not see them in the list!)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#23177