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

前端 未结 6 877
无人及你
无人及你 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:12

    There's an option in the file menu, but it has no shortcut:

    • File -> Close All Files

    Edit - change user settings:

    kay, open Preferences -> Key Bindings - User and paste the following between the []:

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

    then use Ctrl, Alt, Shift and w to close all tabs.

    You'll have to restart Sublime first.

    Note: For Sublime Text 3.2.2,Build 3211 you don't need to restart the sublime text to waste your time.Just place code in [ ](as mentioned above),save it and close Key Bindings - User window.Now all opened tabs will be close with out exiting Sublime Text by using Ctrl + Alt + Shift + W .

提交回复
热议问题