mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Update keymap documentation
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user