Skip to content

Instantly share code, notes, and snippets.

@dminca
Last active August 29, 2015 14:24
Show Gist options
  • Select an option

  • Save dminca/3f81c612cc1624b17b83 to your computer and use it in GitHub Desktop.

Select an option

Save dminca/3f81c612cc1624b17b83 to your computer and use it in GitHub Desktop.
atom-keymap
# Daniel's keymap
#
# Atom keymaps work similarly to style sheets. Just as style sheets 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:
#
# 'atom-text-editor':
# 'enter': 'editor:newline'
#
# 'atom-workspace':
# 'ctrl-shift-p': 'core:move-up'
# 'ctrl-p': 'core:move-down'
#
# You can find more information about keymaps in these guides:
# * https://atom.io/docs/latest/using-atom-basic-customization#customizing-key-bindings
# * https://atom.io/docs/latest/behind-atom-keymaps-in-depth
#
# This file uses CoffeeScript Object Notation (CSON).
# If you are unfamiliar with CSON, you can read more about it here:
# https://github.com/bevry/cson#what-is-cson
'atom-text-editor':
'ctrl-shift-up': 'editor:move-line-up'
'ctrl-shift-down': 'editor:move-line-down'
'body':
'ctrl-a h': 'pane:split-down'
'ctrl-a v': 'pane:split-right'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment