mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
25 lines
501 B
CoffeeScript
25 lines
501 B
CoffeeScript
# ~/.atomicity/settings.coffee
|
|
# ----------------------------
|
|
|
|
editor:
|
|
tabSize: 2
|
|
spaces: true
|
|
|
|
# ~/.atomicity/keybindings.coffee
|
|
|
|
app:
|
|
"cmd-q": (app) -> app.quit()
|
|
"cmd-q": "quit" # optional way?
|
|
editor:
|
|
"ctrl-p": (editor) -> editor.moveUp()
|
|
"ctrl-a": (editor) ->
|
|
position = editor.cursorPosition()
|
|
position.column = 0
|
|
editor.setCursorPosition(position)
|
|
tree:
|
|
"cmd-ctrl-n": (tree) -> tree.toggle()
|
|
window:
|
|
'Command-O' : @open
|
|
'Command-Ctrl-K' : @showConsole
|
|
|