Handle save-as on pane. Replace 'editor:save-as' w/ 'core:save-as'

Pane will only show the saveAs dialog if the item has a `saveAs` method.
This commit is contained in:
Nathan Sobo
2013-02-28 18:00:04 -07:00
committed by probablycorey
parent 59a06acc0b
commit 3f9ee08e76
5 changed files with 33 additions and 10 deletions

View File

@@ -1,5 +1,6 @@
'body':
'meta-s': 'core:save'
'meta-S': 'core:save-as'
'enter': 'core:confirm'
'escape': 'core:cancel'
'meta-w': 'core:close'

View File

@@ -2,7 +2,6 @@
'meta-T': 'editor:undo-close-session'
'.editor':
'meta-S': 'editor:save-as'
'enter': 'editor:newline'
'meta-enter': 'editor:newline-below'
'meta-shift-enter': 'editor:newline-above'