diff --git a/src/editor.coffee b/src/editor.coffee index 485fdd42a..9b21fd0a7 100644 --- a/src/editor.coffee +++ b/src/editor.coffee @@ -141,3 +141,7 @@ bindKey 'reload', 'Command-Ctrl-r', (env) -> Chrome.createWindow() WindowController.close() +# this should go in coffee.coffee or something +bindKey 'consolelog', 'Ctrl-L', (env) -> + env.editor.insert 'console.log ""' + env.editor.navigateLeft()