CTRL+w should close the current tab #9207

Closed
opened 2026-01-31 01:48:41 +00:00 by claunia · 2 comments
Owner

Originally created by @JamesEarle on GitHub (Jun 22, 2020).

Just like in the new Chromium based Edge, CTRL+w should close the current tab.

Originally created by @JamesEarle on GitHub (Jun 22, 2020). Just like in the new Chromium based Edge, `CTRL+w` should close the current tab. <!-- A clear and concise description of what the problem is that the new feature would solve. Instead of having to move your hand off of the keyboard to click the small "x" with your mouse, you can close terminal tabs using the hotkey `CTRL+w` -->
claunia added the Issue-FeatureResolution-Duplicate labels 2026-01-31 01:48:42 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Jun 22, 2020):

Thanks for the suggestion! Please make sure to search for duplicates when filing new issues.

/dup #6449 #6490

The closePane command (which can be used for closing tabs as well) is bound to ctrl+shift+w by default. This is because there are other commandline applications, like nano, that use ctrl+w as a keybinding themselves.

If you'd like to bind it to ctrl+w instead, add the following to your settings:

{ "command": "closePane", "keys": "ctrl+w" },
@zadjii-msft commented on GitHub (Jun 22, 2020): Thanks for the suggestion! Please make sure to search for duplicates when filing new issues. /dup #6449 #6490 The `closePane` command (which can be used for closing tabs as well) is bound to <kbd>ctrl+shift+w</kbd> [by default](https://github.com/microsoft/terminal/blob/master/src/cascadia/TerminalApp/defaults.json#L311). This is because there are other commandline applications, like `nano`, that use <kbd>ctrl+w</kbd> as a keybinding themselves. If you'd like to bind it to <kbd>ctrl+w</kbd> instead, add the following to your settings: ```json { "command": "closePane", "keys": "ctrl+w" }, ```
Author
Owner

@ghost commented on GitHub (Jun 22, 2020):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Jun 22, 2020): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#9207