mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
bindkey takes a scope, keycap is a method
This commit is contained in:
@@ -10,12 +10,12 @@ class Window extends Pane
|
||||
nswindow: null
|
||||
panes: []
|
||||
|
||||
keymap:
|
||||
'Command-N' : 'new'
|
||||
'Command-O' : 'open'
|
||||
'Command-Shift-O' : 'openURL'
|
||||
'Command-Ctrl-K' : 'showConsole'
|
||||
'Command-Ctrl-R' : 'reload'
|
||||
keymap: ->
|
||||
'Command-N' : @new
|
||||
'Command-O' : @open
|
||||
'Command-Shift-O' : @openURL
|
||||
'Command-Ctrl-K' : @showConsole
|
||||
'Command-Ctrl-R' : @reload
|
||||
|
||||
constructor: (options={}) ->
|
||||
super options
|
||||
|
||||
Reference in New Issue
Block a user