Skip to content

Instantly share code, notes, and snippets.

@shimakyohsuke
Last active August 29, 2015 14:24
Show Gist options
  • Save shimakyohsuke/0fa76fdfac4cb37d0655 to your computer and use it in GitHub Desktop.
Save shimakyohsuke/0fa76fdfac4cb37d0655 to your computer and use it in GitHub Desktop.
Atom keymap.cson
# 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':
'alt-cmd-M': 'markdown-preview:toggle'
'atom-text-editor[data-grammar="php"]::not([mini])':
'tab': 'emmet:expand-abbreviation-with-tab'
'.platform-darwin atom-text-editor:not([mini])':
'ctrl-shift-U': 'unset!'
'ctrl-cmd-shift-U': 'emmet:update-tag'
'.platform-darwin atom-text-editor:not([mini])':
'ctrl-cmd-shift-E': 'encoding-selector:show'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment