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

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

    Go to Preferences>Key Bindings - User> and add following line.

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

    Now when you hit cmd+w, only file gonna close not the whole window because you target "close_file".

提交回复
热议问题