Skip to content

Keyboard Shortcuts

jiyinyiyong edited this page Oct 12, 2017 · 8 revisions

Node(Shared between Leaf and Expression)

Shortcut Meaning
Space add token after focused node
Shift Space insert token before focused node
Tab nest focused node
Up move to parent expression
Left move to previous brother node accordingly
Right move to next brother node accordingly
Command e Go to namespace

On token

Shortcut Meaning
Shift Tab unfold expression with only 1 token
Enter add token after focus
Shift Enter insert token before focus
Backspace remove focused token if empty
Command d goto definition
Command Shift v paste expression and replace current token
Command Shift d create as a definition

On expression

Shortcut Meaning
Shift Tab unfold focused expression
Enter add expression after focused expression
Shift Enter insert expression after focused expression
Command Enter prepend token inside focused expression
Command Shift Enter append token inside focused expression
Backspace remove focused expression
Down move to first child
Command b duplicate focused expression
Command c copy focused expression
Command d create definition with expression
Command v paste to focused node
Command x cut focused expression

Editor

Shortcut Meaning
Command j goto definition below on the sidebar
Command k goto definition above on the sidebar
Command i remove current definition from sidebar
Command p open command palette
Esc close command palette
Command Shift f goto files
Clone this wiki locally