Skip to content

Instantly share code, notes, and snippets.

@coudron
Last active January 18, 2017 21:28

Revisions

  1. coudron revised this gist Jan 18, 2017. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions keymap.cson
    Original file line number Diff line number Diff line change
    @@ -33,3 +33,4 @@

    '.platform-darwin atom-text-editor':
    'cmd-d': 'editor:delete-line'
    'cmd-e': 'standard-formatter:format'
  2. coudron created this gist Dec 11, 2016.
    35 changes: 35 additions & 0 deletions keymap.cson
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,35 @@
    # 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 OS X 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/#_cson

    '.platform-darwin atom-text-editor':
    'cmd-d': 'editor:delete-line'