mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-12 22:50:54 +03:00
💄
This commit is contained in:
parent
268553cda9
commit
d2654cb70c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user