Close all tabs, but not the window, in Sublime Text

前端 未结 6 890
无人及你
无人及你 2020-12-25 09:24

Is there a way to close all tabs in one go in Sublime Text, but leave the window with the current project open? It is really annoying when I just want to close all open file

6条回答
  •  悲哀的现实
    2020-12-25 10:06

    Thanks to Alex, it turned out kind of simple, Preferences > Key Bindings > User:

    { "keys": ["super+shift+w"], "command": "close_all" }

    No need to restart Sublime, it works right away. And what's even better, no need to get used new shortcuts, you can still close Sublime window with Cmd-W after all tabs are gone.

提交回复
热议问题