This commit is contained in:
Kevin Sawicki 2013-08-08 17:56:01 -07:00
parent 268553cda9
commit d2654cb70c

View File

@ -192,12 +192,12 @@ to apply styles to elements, Atom keymaps use selectors to associate keystrokes
with events in specific contexts. Here's a small example, excerpted from Atom's with events in specific contexts. Here's a small example, excerpted from Atom's
built-in keymaps: built-in keymaps:
```coffee-script ```coffeescript
'.editor': '.editor':
'enter': 'editor:newline' 'enter': 'editor:newline'
".select-list .editor.mini": '.select-list .editor.mini':
'enter': 'core:confirm', 'enter': 'core:confirm'
``` ```
This keymap defines the meaning of `enter` in two different contexts. In a This keymap defines the meaning of `enter` in two different contexts. In a