Feature request: close tabs to the right #7631

Open
opened 2026-01-31 01:09:03 +00:00 by claunia · 0 comments
Owner

Originally created by @Adam13531 on GitHub (Apr 24, 2020).

Description of the new feature/enhancement

Hey, I was hoping for a feature in Windows Terminal that I've seen in many browsers and text editors: being able to close all tabs to the right of the current one. Here are some examples:

Sublime:
image

Firefox:
image

Chrome:
image

ConEmu:
image

The scenario I have is that I keep long-lived tabs like build processes, servers, etc. in the leftmost positions in my terminal, then I have "temporary" tabs on the right. Every once in a while, I end up with 20+ tabs open, so I want to activate the 6th or 7th one and close all tabs to the right to get rid of all of the clutter.

Even just having a customizable keyboard shortcut would be great, but this is the kind of thing that could live in a context menu eventually (#1912).

P.S. much of this text was copy/pasted from here.

Originally created by @Adam13531 on GitHub (Apr 24, 2020). # Description of the new feature/enhancement Hey, I was hoping for a feature in Windows Terminal that I've seen in many browsers and text editors: being able to close all tabs to the right of the current one. Here are some examples: Sublime: ![image](https://user-images.githubusercontent.com/7192897/32975351-51c31100-cbbb-11e7-93dc-8b205a57f7c9.png) Firefox: ![image](https://user-images.githubusercontent.com/7192897/32975359-62468d90-cbbb-11e7-91cf-91f4545d4996.png) Chrome: ![image](https://user-images.githubusercontent.com/7192897/32975366-6fe98650-cbbb-11e7-8735-304c1f35f03a.png) ConEmu: ![image](https://user-images.githubusercontent.com/7192897/80177901-dd7ec600-85b1-11ea-97d7-5103b24bdf1d.png) The scenario I have is that I keep long-lived tabs like build processes, servers, etc. in the leftmost positions in my terminal, then I have "temporary" tabs on the right. Every once in a while, I end up with 20+ tabs open, so I want to activate the 6th or 7th one and close all tabs to the right to get rid of all of the clutter. Even just having a customizable keyboard shortcut would be great, but this is the kind of thing that could live in a context menu eventually (#1912). P.S. much of this text was copy/pasted from [here](https://github.com/Maximus5/ConEmu/issues/1321).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#7631