Skip to content

Instantly share code, notes, and snippets.

@ecowden
Created May 29, 2015 02:48
Show Gist options
  • Save ecowden/6c552c4e0b26f7f6c5a6 to your computer and use it in GitHub Desktop.
Save ecowden/6c552c4e0b26f7f6c5a6 to your computer and use it in GitHub Desktop.
My Atom Keymap
# Your keymap
#
# Atom keymaps work similarly to stylesheets. Just as stylesheets use selectors
# to apply styles to elements, Atom keymaps use selectors to associate
# keystrokes with events in specific contexts.
#
# You can create a new keybinding in this file by typing "key" and then hitting
# tab.
#
# Here's an example taken from Atom's built-in keymap:
#
# '.editor':
# 'enter': 'editor:newline'
#
# '.workspace':
# 'ctrl-P': 'core:move-up'
# 'ctrl-p': 'core:move-down'
#
'atom-workspace atom-text-editor:not([mini])':
'shift-alt-up': 'editor:move-line-up'
'shift-alt-down': 'editor:move-line-down'
'cmd-d': 'editor:duplicate-lines'
'cmd-y': 'editor:delete-line'
'atom-text-editor':
'cmd-alt-l': 'atom-beautify:beautify-editor'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment