Skip to content

Atom editor plugin for automatically closing the window when the last tab is closed.

License

Notifications You must be signed in to change notification settings

izuzak/atom-the-closer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

The Closer package

Closes the window when or after the last tab is closed. Doesn't ask any questions.

Configuration options

You can use the the-closer.closeWindowTogetherWithLastTab configuration option to configure whether the window is closed with or after the last tab is closed:

# config.cson

'the-closer':
  'closeWindowTogetherWithLastTab': true

You can also configure this option in Atom > Preferences > Close After Last Tab.

If closeWindowTogetherWithLastTab is set to false, then the current window will be closed when core:close is triggered (e.g. with cmd-w) after the last tab has been closed. In other words, you need to press cmd-w again after the last tab has been closed.

If closeWindowTogetherWithLastTab is set to true, then the current window will be close when core:close is triggered to close the last tab. In other words, pressing cmd-w to close the last tab will also close the window.

By default, closeWindowTogetherWithLastTab is set to true.

About

Atom editor plugin for automatically closing the window when the last tab is closed.

Resources

License

Stars

Watchers

Forks

Packages

No packages published