openURL key command

This commit is contained in:
Chris Wanstrath
2011-08-23 10:37:02 -07:00
parent bb2929f061
commit f2e53a9b5a

View File

@@ -56,6 +56,10 @@ Chrome.bindKey 'open', 'Command-O', (env, args, request) ->
filename = file
open()
Chrome.bindKey 'openURL', 'Command-Shift-O', (env, args, request) ->
if url = prompt "Enter URL:"
Chrome.openURL url
Chrome.bindKey 'saveAs', 'Command-Shift-S', (env, args, request) ->
saveAs()