Update keymap documentation

This commit is contained in:
probablycorey
2013-10-28 09:23:18 -07:00
parent cde0fae1f3
commit 7c70c43c1c
2 changed files with 8 additions and 6 deletions

View File

@@ -30,8 +30,9 @@ built-in keymaps:
'.editor':
'enter': 'editor:newline'
".select-list .editor.mini":
'enter': 'core:confirm'
'body':
'ctrl-P': 'core:move-up'
'ctrl-p': 'core:move-down'
```
This keymap defines the meaning of `enter` in two different contexts. In a

View File

@@ -5,8 +5,9 @@
# keystrokes with events in specific contexts. Here's a small example, excerpted
# from Atom's built-in keymaps:
#
#'.editor':
# 'enter': 'editor:newline'
# '.editor':
# 'enter': 'editor:newline'
#
#".select-list .editor.mini":
# 'enter': 'core:confirm'
# 'body':
# 'ctrl-P': 'core:move-up'
# 'ctrl-p': 'core:move-down'