Close Tab (Ctrl+F4) #19155

Closed
opened 2026-01-31 06:35:18 +00:00 by claunia · 7 comments
Owner

Originally created by @theking2 on GitHub (Dec 29, 2022).

Description of the new feature/enhancement

There is the standard Alt+F4 to close the window and various other Tab manipulating commands but nothing to close the current tab (Ctrl+F4)

Proposed technical implementation details (optional)

Add command to the palate and assign Ctrl+F4 as the standard key

Originally created by @theking2 on GitHub (Dec 29, 2022). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> # Description of the new feature/enhancement There is the standard Alt+F4 to close the window and various other Tab manipulating commands but nothing to close the current tab (Ctrl+F4) # Proposed technical implementation details (optional) Add command to the palate and assign Ctrl+F4 as the standard key
claunia added the Issue-QuestionNeeds-TriageNeeds-Tag-FixResolution-Answered labels 2026-01-31 06:35:18 +00:00
Author
Owner

@brupelo commented on GitHub (Dec 31, 2022):

If you go to settings/actions you should be able to see some available close commands that should help

image

Just make sure to assign ctrl+f4 to the "Close Tab" action, save it and then you'll have the behaviour you're asking for.

Hope that helps.

@brupelo commented on GitHub (Dec 31, 2022): If you go to settings/actions you should be able to see some available close commands that should help ![image](https://user-images.githubusercontent.com/18058492/210119123-61a71db5-f3e5-46cd-8001-aa800ad09887.png) Just make sure to assign `ctrl+f4` to the "Close Tab" action, save it and then you'll have the behaviour you're asking for. Hope that helps.
Author
Owner

@theking2 commented on GitHub (Dec 31, 2022):

In which version is there a Close Tab action? I wasn't able to locate it.

@theking2 commented on GitHub (Dec 31, 2022): In which version is there a Close Tab action? I wasn't able to locate it.
Author
Owner

@brupelo commented on GitHub (Dec 31, 2022):

Using Version: 1.15.3465.0 over here

@brupelo commented on GitHub (Dec 31, 2022): Using `Version: 1.15.3465.0` over here
Author
Owner

@theking2 commented on GitHub (Dec 31, 2022):

In the German language version this is missing. Should I file a bug here?

@theking2 commented on GitHub (Dec 31, 2022): In the German language version this is missing. Should I file a bug here?
Author
Owner

@theking2 commented on GitHub (Dec 31, 2022):

It would be called "Registrierkarte schliessen"

@theking2 commented on GitHub (Dec 31, 2022): It would be called "Registrierkarte schliessen"
Author
Owner

@mklement0 commented on GitHub (Jan 1, 2023):

@theking2, only bound actions are shown by default in Settings > Actions.

Close tab / Registerkarte schließen is not bound by default, so you need to click + Add new / Neu hinzufügen and assign it the desired key chord.

However, note that Close pane / Bereich schließen is bound by default, namely to Ctrl-Shift-W, and for any tab that contains only one pane (which is the default), closing that one pane also closes the entire tab.

@mklement0 commented on GitHub (Jan 1, 2023): @theking2, only _bound_ actions are shown by default in `Settings > Actions`. `Close tab` / `Registerkarte schließen` is _not_ bound by default, so you need to click `+ Add new` / `Neu hinzufügen` and assign it the desired key chord. However, note that `Close pane` / `Bereich schließen` _is_ bound by default, namely to <kbd>Ctrl-Shift-W</kbd>, and for any tab that contains only _one_ pane (which is the default), closing that one pane also closes the entire tab.
Author
Owner

@zadjii-msft commented on GitHub (Jan 3, 2023):

Yep, this is all correct. Binding closePane is generally preferred over closeTab, because it's slightly more versatile like that. Feel free to rebind it to whatever you'd like!

@zadjii-msft commented on GitHub (Jan 3, 2023): Yep, this is all correct. Binding `closePane` is generally preferred over `closeTab`, because it's slightly more versatile like that. Feel free to rebind it to whatever you'd like!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#19155