Export bindKey

This commit is contained in:
Corey Johnson
2011-08-27 21:51:25 -07:00
parent 90aea78c65
commit 9f51505287

View File

@@ -140,17 +140,13 @@ bindKey 'end', 'Alt-Shift-.', (env) ->
bindKey 'fullscreen', 'Command-Shift-Return', (env) ->
Chrome.toggleFullscreen()
# HAX
# this should go in coffee.coffee or something
bindKey 'consolelog', 'Ctrl-L', (env) ->
env.editor.insert 'console.log ""'
env.editor.navigateLeft()
bindKey 'toggleProjectDrawer', 'Command-Ctrl-N', (env) ->
Project.toggle()
exports.bindKey = bindKey
## load plugins
plugins = _.map Dir.list(Chrome.appRoot() + "/plugins"), (plugin) ->