mirror of
https://github.com/atom/atom.git
synced 2026-02-08 21:55:05 -05:00
no more keybindings in static/
This commit is contained in:
26
src/atom/key-bindings.coffee
Normal file
26
src/atom/key-bindings.coffee
Normal file
@@ -0,0 +1,26 @@
|
||||
app:
|
||||
'cmd-q': (app) -> app.quit()
|
||||
'cmd-o': (app) -> app.open()
|
||||
|
||||
window:
|
||||
'cmd-shift-I': (window) -> window.showConsole()
|
||||
'cmd-r': (window) -> window.reload()
|
||||
|
||||
document:
|
||||
'cmd-ctrl-d': -> console.log 'derp'
|
||||
|
||||
editor:
|
||||
'cmd-w': 'removeBuffer'
|
||||
'cmd-s': 'save'
|
||||
'cmd-shift-s': 'saveAs'
|
||||
'cmd-c': 'copy'
|
||||
'cmd-x': 'cut'
|
||||
'cmd-/': 'toggleComment'
|
||||
'cmd-[': 'outdent'
|
||||
'cmd-]': 'indent'
|
||||
'alt-f': 'forwardWord'
|
||||
'alt-b': 'backWord'
|
||||
'alt-d': 'deleteWord'
|
||||
'alt-shift-,': 'home'
|
||||
'alt-shift-.': 'end'
|
||||
'ctrl-l': 'consolelog'
|
||||
@@ -10,7 +10,6 @@ paths = [
|
||||
"#{resourcePath}/src/stdlib"
|
||||
"#{resourcePath}/src/atom"
|
||||
"#{resourcePath}/src"
|
||||
"#{resourcePath}/static"
|
||||
"#{resourcePath}/extensions"
|
||||
"#{resourcePath}/vendor"
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user