From bbae26312c0c8ffa80f685f12009e7dc13410e14 Mon Sep 17 00:00:00 2001 From: Corey Johnson Date: Mon, 29 Aug 2011 20:36:29 -0700 Subject: [PATCH] Helper for reloading everything. Probably should put in my .atomicity dir but I am social coding. --- src/editor.coffee | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/editor.coffee b/src/editor.coffee index 9146c1d53..7442e4483 100644 --- a/src/editor.coffee +++ b/src/editor.coffee @@ -135,3 +135,8 @@ bindKey 'fullscreen', 'Command-Shift-Return', (env) -> bindKey 'console', 'Command-Ctrl-k', (env) -> Chrome.inspector().showConsole(1) + +bindKey 'reload', 'Command-Ctrl-r', (env) -> + Chrome.createWindow() + WindowController.close() +