mirror of
https://github.com/atom/atom.git
synced 2026-02-09 22:24:59 -05:00
Make meta-n (new window) work
This commit is contained in:
@@ -3,3 +3,4 @@ fs = require('fs')
|
||||
atom.configDirPath = fs.absolute("~/.atom")
|
||||
atom.configFilePath = fs.join(atom.configDirPath, "atom.coffee")
|
||||
atom.open = (args...) -> @sendMessageToBrowserProcess('open', args)
|
||||
atom.newWindow = (args...) -> @sendMessageToBrowserProcess('newWindow', args)
|
||||
|
||||
@@ -19,7 +19,7 @@ class Keymap
|
||||
'meta-,': 'open-user-configuration'
|
||||
'meta-o': 'open'
|
||||
|
||||
$(document).on 'new-window', => $native.newWindow()
|
||||
$(document).on 'new-window', => atom.newWindow()
|
||||
$(document).on 'open-user-configuration', => atom.open(atom.configFilePath)
|
||||
$(document).on 'open', => atom.open()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user