Reputation: 1821
Command Ctrl + W can close one single tab , but there is some way to close them all ? Or some way to configure that?
Upvotes: 1
Views: 2068
Reputation: 102842
There is an option in the File menu Close All Files
which will do what you wish. If you want to bind it to a keyboard shortcut, open your user key bindings from the Preferences menu, and add the following:
{ "keys": ["super+ctrl+shift+w"], "command": "close_all" }
Once you save the file, you can now close all tabs with ⌘^⇧ W.
The keybindings file is in JSON format, so all the commands are surrounded by an opening square bracket [
on the first line, and a closing bracket ]
on the last line. If there are multiple entries, each entry should have a comma ,
at the end, except for the last entry. //
single-line comments and /* ... */
multi-line comments are also allowed.
Upvotes: 6