You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
cmd+n should default to cmd+shift+n when no windows are open on OS X #7428
On OS X, if you close all windows so only the menubar is active, cmd+n does nothing at all. It should default to cmd+shift+n if no windows are open in Atom.app.
Similarly, when you no longer have open tabs, I would expect pressing Command-W to close the front window and focus the next window in the stack unless the window is minimized. I'm on OS X 10.10.4 and Atom 1.0.
This is how Sublime Text 3 behaves. Google Chrome also behaves similarly, except that they do it when you have a single open tab. Pressing Command-W when you have a single open tab will close the window and shift focus to the next open window unless it's minimized.
Should I create a separate issue for this or piggyback on this one?
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!
Activity
dominikwilkowski commentedon Jun 26, 2015
👍
cesarandreu commentedon Jul 6, 2015
Similarly, when you no longer have open tabs, I would expect pressing Command-W to close the front window and focus the next window in the stack unless the window is minimized. I'm on OS X 10.10.4 and Atom 1.0.
This is how Sublime Text 3 behaves. Google Chrome also behaves similarly, except that they do it when you have a single open tab. Pressing Command-W when you have a single open tab will close the window and shift focus to the next open window unless it's minimized.
Should I create a separate issue for this or piggyback on this one?
lee-dohm commentedon Jul 6, 2015
@cesarandreu it's generally best to keep one item per Issue. This way there is no confusion as to when to close it.
jacekkopecky commentedon Aug 13, 2015
To get the described behaviour, what works for me is to put the following in
.atom/keymap.cson:Except now the File menu shows
cmd-Nfor both commands, but what the heck, nobody ever looks.joshaber commentedon Jan 4, 2016
Fixed by #10233.
lock commentedon Jan 18, 2019
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!