ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Better Close Window

by mreq ALL

Better close window command for Sublime Text 2/3

Labels commands

Details

  • 1.0.0
  • mreq.​eu
  • github.​com
  • 10 years ago
  • 34 minutes ago
  • 10 years ago

Installs

  • Total 912
  • Win 464
  • Mac 293
  • Linux 155
Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

BetterCloseWindow

I got fed up with Sublime opening the last project and a new window when closed and being launched. This super-simple plugin offers a single better_close_window command, which closes the project and then the window.

Default keybinding is set to override the default close_window command.

Before

  1. Work on a foo.sublime-project.
  2. Close sublime
  3. Start sublime opening a folder/project. subl ~/bar
  4. Two sublime windows open - first with the foo project, second with ~/bar folder.

Now

  1. Work on a foo.sublime-project.
  2. Close sublime via this plugin
  3. Start sublime opening a folder/project. subl ~/bar
  4. A single sublime window opens - with ~/bar folder.