Add pane:reopen-closed-item command

This commit is contained in:
Corey Johnson & Nathan Sobo
2013-03-06 13:45:56 -08:00
committed by probablycorey
parent 5ad53bb32c
commit ffb8bcd71d
3 changed files with 4 additions and 3 deletions

View File

@@ -63,6 +63,9 @@ class RootView extends View
@command 'window:toggle-auto-indent-on-paste', =>
config.set("editor.autoIndentOnPaste", !config.get("editor.autoIndentOnPaste"))
@command 'pane:reopen-closed-item', =>
@panes.restoreItem()
serialize: ->
deserializer: 'RootView'
panesViewState: @panes.serialize()