Default shortcut to close a window does not work in OSX 10.8.5


#1

When starting Atom in OSX 10.8.5, it opens a new, blank file. I can cmd+w this file to close it, but the container window (the one with keyboard shortcut hints) remains there. This window cannot be closed by cmd+w, regardless of if other Atom windows are open or not.


#2

⌘w closes the current buffer. Use ⇧⌘w to close the window.


#3

That might make sense when there is a current buffer. With only a “window” open though, it should do as most other OSX applications do and just close the window…


#4

+1. I’m evaluating Atom vs Sublime, and in the latter Cmd+W does what’s expected in this case. I would also like Cmd+W to simply close an empty window. I don’t see how the buffer vs window distinction in this case is helping me as a user. (TBH not even sure what the buffer is or why I should care about it.)


#5

Just found a package that does this though - https://atom.io/packages/close-after-last-tab. Fixed my immediate problem.


#6

Thanks Jaanus !
This plugin indeed does fix the behavior. But still, needing a plugin for that is strange in my opinion.
Maybe it could be an option in the settings ?