Home Download Buy Blog Forum Support

Can I prevent Cntl-W from closing the program?

Can I prevent Cntl-W from closing the program?

Postby ecaron on Wed Oct 12, 2011 3:51 pm

Sometimes when I want a clean slate, I keep tapping Cntl-W to close all the tabs. The problem is that when I get to 0 tabs, Cntrl-W closes the program. I know that Cntl-W in Chrome closes the program if 0 tabs are open, but I would rather Sublime act like Notepad++ where Cntl-W closes tabs but won't close the program.

Is there a configuration option to prevent Cntl-W from closing Sublime if 0 tabs are open?
ecaron
 
Posts: 3
Joined: Wed Oct 12, 2011 3:48 pm

Re: Can I prevent Cntl-W from closing the program?

Postby C0D312 on Wed Oct 12, 2011 7:55 pm

I don't know if this will help, but in Preferences > Global File Settings, there is the option: "close_windows_when_empty." Try setting this to false. Idk if this will work because I currently only use Sublime with OSX.
C0D312
 
Posts: 1063
Joined: Sun Jul 10, 2011 3:23 am

Re: Can I prevent Cntl-W from closing the program?

Postby ecaron on Thu Oct 13, 2011 2:19 am

C0D312 wrote:I don't know if this will help, but in Preferences > Global File Settings, there is the option: "close_windows_when_empty." Try setting this to false. Idk if this will work because I currently only use Sublime with OSX.

Thanks for the suggestion. I tried that but it doesn't not prevent control-W from closing the entire program.
ecaron
 
Posts: 3
Joined: Wed Oct 12, 2011 3:48 pm


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 25 guests