Meta-w closes spec windows again.

This adds a 'core:close' event to meta-w in the default bindings, and modifies window to listen for it.
This commit is contained in:
Nathan Sobo
2012-10-24 12:35:31 -06:00
parent b71fa308a3
commit ca2527f4b8
3 changed files with 3 additions and 2 deletions

View File

@@ -18,6 +18,7 @@ class Keymap
'meta-n': 'new-window'
'meta-,': 'open-user-configuration'
'meta-o': 'open'
'meta-w': 'core:close'
$(document).on 'new-window', => atom.newWindow()
$(document).on 'open-user-configuration', => atom.open(atom.configFilePath)