# Your 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. Unlike style sheets however, # each selector can only be declared once. # # 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: # * http://flight-manual.atom.io/using-atom/sections/basic-customization/#customizing-keybindings # * http://flight-manual.atom.io/behind-atom/sections/keymaps-in-depth/ # # If you're having trouble with your keybindings not working, try the # Keybinding Resolver: `Cmd+.` on macOS and `Ctrl+.` on other platforms. See the # Debugging Guide for more information: # * http://flight-manual.atom.io/hacking-atom/sections/debugging/#check-the-keybindings # # This file uses CoffeeScript Object Notation (CSON). # If you are unfamiliar with CSON, you can read more about it in the # Atom Flight Manual: # http://flight-manual.atom.io/using-atom/sections/basic-customization/#configuring-with-cson 'atom-text-editor[data-grammar="text html basic"]:not([mini]), atom-text-editor[data-grammar~="htm"]:not([mini]), atom-text-editor[data-grammar~="html"]:not([mini]), atom-text-editor[data-grammar~="php"]:not([mini]), atom-text-editor[data-grammar~="erb"]:not([mini]), atom-text-editor[data-grammar~="jade"]:not([mini]), atom-text-editor[data-grammar~="css"]:not([mini]), atom-text-editor[data-grammar~="stylus"]:not([mini]), atom-text-editor[data-grammar~="sass"]:not([mini]), atom-text-editor[data-grammar~="scss"]:not([mini])': 'tab': 'emmet:expand-abbreviation-with-tab' 'atom-workspace atom-text-editor:not([mini])': 'cmd-backspace': 'editor:delete-line' # you may have to unset the keybinding if it's already in use. 'ctrl-shift-down': 'editor:move-line-down' 'ctrl-shift-up': 'editor:move-line-up' 'ctrl-shift-a': 'atom-alignment:alignMultiple' 'shift-alt-f': 'atom-beautify:beautify-editor' # 'jsformat:format' # 'ctrl-alt-f': 'editor:fold-selection' !!!! # Expand current cursor 'ctrl-down': 'multi-cursor:expandDown' 'ctrl-up': 'multi-cursor:expandUp' 'alt-space': 'autocomplete-plus:activate' # Move the last cursor. 'ctrl-alt-down': 'multi-cursor:move-last-cursor-down' 'ctrl-alt-right': 'multi-cursor:move-last-cursor-right' 'ctrl-alt-left': 'multi-cursor:move-last-cursor-left' 'ctrl-alt-up': 'multi-cursor:move-last-cursor-up' # 'alt-;': 'macros:addSemicolon' 'alt-,': 'macros:addComma' 'alt-ctrl-;': 'macros:addColon'