mirror of
https://github.com/atom/atom.git
synced 2026-01-24 14:28:14 -05:00
Add meta-w keybinding to close window
This commit is contained in:
@@ -33,6 +33,7 @@ windowAdditions =
|
||||
|
||||
bindKeys: ->
|
||||
@bindKey 'meta+s', => @editor.save()
|
||||
@bindKey 'meta+w', => @close()
|
||||
|
||||
bindMenuItems: ->
|
||||
@bindMenuItem "File > Save", => @editor.save()
|
||||
|
||||
Reference in New Issue
Block a user