Why are ctrl/cmd + w (close file) and ctrl/cmd + q (quit) right next to each other?!?! I'm just trying to close a file, but for some insane reason my pinky drifts 1cm to the left and suddenly sublime disappears.
Never again!
Quitting shouldn't be so easy. Modal confirmation dialogs are annoying, so why not show a quick panel instead?
- ctrl/cmd + q (osx/linux): opens up a quick panel (shown below) that let you choose from a number of options.
- alt + f4 (windows only): also opens up the quick panel shown below.
Optionally you can also make this menu appear before the last view in a window is closed by added this keybaord shortcut to your settings:
{ "keys": ["super+w"], "command": "close_guard" }
Muscle memory... why fight it?
The easiest way to get Maybs Quit is with Sublime Package Control. Search for "Maybs Quit".
Alternatively you can clone this git repository into your Packages Directory:
git://github.com/xavi-/sublime-maybs-quit.git
- Xavi Ramirez
This project is released under The MIT License.