Skip to content

Instantly share code, notes, and snippets.

@leobauza
Created April 15, 2015 13:12
Show Gist options
  • Save leobauza/ff952ce1da8447019a5e to your computer and use it in GitHub Desktop.
Save leobauza/ff952ce1da8447019a5e to your computer and use it in GitHub Desktop.
atom keymap to fix some emmet problems
# 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'
#
'body':
'ctrl-alt-cmd-r': 'window:reload'
# '.editor:not(.mini)':
# 'shift-tab': 'emmet:expand-abbreviation'
#
# 'atom-text-editor[data-grammar="text html php"]:not([mini])':
# 'tab': 'emmet:expand-abbreviation-with-tab'
'atom-text-editor:not([mini])':
'ctrl-e': 'unset!'
'ctrl-e': 'editor:move-to-end-of-line'
'.platform-darwin atom-pane atom-text-editor:not([mini])':
'cmd-/': 'editor:toggle-line-comments'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment