[GH-ISSUE #3042] [feature]: Cmd + W -> Close only the current tab #994

Closed
opened 2026-03-16 17:58:58 +03:00 by kerem · 4 comments
Owner

Originally created by @magarrent on GitHub (May 9, 2023).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3042

Is there an existing issue for this?

  • I have searched the existing issues

Summary

Hey there!

Just request that when you have multiple tags and hit Cmd + W or Ctrl + W to close the tab, all the window closes, not the tab.

Why should this be worked on?

I think it might be useful to other users too!

Originally created by @magarrent on GitHub (May 9, 2023). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3042 ### Is there an existing issue for this? - [X] I have searched the existing issues ### Summary Hey there! Just request that when you have multiple tags and hit Cmd + W or Ctrl + W to close the tab, all the window closes, not the tab. ### Why should this be worked on? I think it might be useful to other users too!
kerem 2026-03-16 17:58:58 +03:00
  • closed this issue
  • added the
    feature
    label
Author
Owner

@liyasthomas commented on GitHub (Sep 1, 2023):

I'm afraid we can't override the CMD W keyboard shortcut since it's been assigned to close the browser tab by all browsers in general.

Recently we introduced two new features that'll help you to achieve the same without hijacking the native browser-specific or OS-specific keyboard shortcuts.

  1. Spotlight CMD K
    You can open the search and command spotlight modal and search for "Close tab" > Select "Close tab" to close the current tab.
  2. Context menu on Tabs
    You can now right-click on a tab and select "Close tab" to close the current tab.

Since we don't encourage overriding native keybindings I'm closing this issue.

<!-- gh-comment-id:1702709113 --> @liyasthomas commented on GitHub (Sep 1, 2023): I'm afraid we can't override the <kbd>CMD</kbd> <kbd>W</kbd> keyboard shortcut since it's been assigned to close the browser tab by all browsers in general. Recently we introduced two new features that'll help you to achieve the same without hijacking the native browser-specific or OS-specific keyboard shortcuts. 1. Spotlight <kbd>CMD</kbd> <kbd>K</kbd> You can open the search and command spotlight modal and search for "Close tab" > Select "Close tab" to close the current tab. 2. Context menu on Tabs You can now right-click on a tab and select "Close tab" to close the current tab. Since we don't encourage overriding native keybindings I'm closing this issue.
Author
Owner

@filipre commented on GitHub (Nov 15, 2023):

Hi @liyasthomas, is the limitation still the case with the new release of the desktop application? I noticed that CMD W also closes the desktop app. Given it's a native app now, can we overwrite CMD W to close the current tab instead?

<!-- gh-comment-id:1812027850 --> @filipre commented on GitHub (Nov 15, 2023): Hi @liyasthomas, is the limitation still the case with the new release of the desktop application? I noticed that <kbd>CMD</kbd> <kbd>W</kbd> also closes the desktop app. Given it's a native app now, can we overwrite <kbd>CMD</kbd> <kbd>W</kbd> to close the current tab instead?
Author
Owner

@liyasthomas commented on GitHub (Nov 15, 2023):

We're planning to revamp keyboard shortcuts to make it more intuitive. Hence I'm open to suggestions on what shortcuts could be added to the list.

<!-- gh-comment-id:1812057197 --> @liyasthomas commented on GitHub (Nov 15, 2023): We're planning to revamp keyboard shortcuts to make it more intuitive. Hence I'm open to suggestions on what shortcuts could be added to the list.
Author
Owner

@filipre commented on GitHub (Nov 15, 2023):

Awesome! I just found https://github.com/hoppscotch/hoppscotch/issues/3520, let's keep the discussion there then :)

<!-- gh-comment-id:1812061239 --> @filipre commented on GitHub (Nov 15, 2023): Awesome! I just found https://github.com/hoppscotch/hoppscotch/issues/3520, let's keep the discussion there then :)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#994
No description provided.