Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
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

Closed

Description

@void-validation

Atom: 1.0
Mac OS X: 10.10.3

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.

Apple mention suggestions for default keys here: http://support.apple.com/kb/HT1343

Activity

  1. dominikwilkowski commented on Jun 26, 2015

    @dominikwilkowski

    👍

  2. cesarandreu commented on Jul 6, 2015

    @cesarandreu

    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?

  3. lee-dohm commented on Jul 6, 2015

    @lee-dohm
    Contributor

    @cesarandreu it's generally best to keep one item per Issue. This way there is no confusion as to when to close it.

  4. jacekkopecky commented on Aug 13, 2015

    @jacekkopecky
    Contributor

    To get the described behaviour, what works for me is to put the following in .atom/keymap.cson:

    'body':
      'cmd-n': 'application:new-window'
    'atom-workspace':
      'cmd-n': 'application:new-file'
    

    Except now the File menu shows cmd-N for both commands, but what the heck, nobody ever looks.

  5. self-assigned this
    on Dec 30, 2015
  6. joshaber commented on Jan 4, 2016

    @joshaber
    Contributor

    Fixed by #10233.

  7. lock commented on Jan 18, 2019

    @lock

    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!

  8. locked as resolved and limited conversation to collaborators on Jan 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions