Updated docs on key bindings

This commit is contained in:
jos 2017-07-24 14:09:37 +02:00
parent 1c37b303b9
commit 7380be631c
2 changed files with 36 additions and 36 deletions

35
docs/key_bindings.md Normal file
View File

@ -0,0 +1,35 @@
# Key bindings
## Tree Editor
Name | Windows key combination | Mac key combination | Description
----------------------------- | ----------------------- | -------------------------- | ------------------------------------------------
`up`, `down`, `left`, `right` | Alt+Arrows | Option+Arrows | Move the caret up/down/left/right between fields
`duplicate` | Ctrl+D | Command+D | Duplicate field
`remove` | Ctrl+Del | Command+Del | Remove field
`openUrl` | Ctrl+Enter | Command+Enter | Open link when on a field containing an url
`insert` | Ctrl+Ins | Command+Ins | Insert a new field with type auto
`expand` | Ctrl+E | Command+E | Expand or collapse field
`end` | Alt+End | Option+End | Move the caret to the last field
`find` | Ctrl+F | Command+F | Find
`findNext` | F3, Ctrl+G | F3, Command+G | Find next
`findPrevious` | Shift+F3, Ctrl+Shift+G | Shift+F3, Command+Shift+G | Find previous
`home` | Alt+Home | Option+Home | Move the caret to the first field
`actionMenu` | Ctrl+M | Command+M | Show actions menu
`undo` | Ctrl+Z | Command+Z | Undo last action
`redo` | Ctrl+Shift+Z | Command+Shift+Z | Redo
## Code Editor
The code editor is powered by [Ace Editor](http://ace.c9.io/). This editor's
shortcut keys are described here:
https://github.com/ajaxorg/ace/wiki/Default-Keyboard-Shortcuts
Additionally, there are shortcut keys to format/compact the code:
Name | Windows key combination | Mac key combination | Description
--------- | ----------------------- | ------------------- | ------------------------------------------------
`format` | Ctrl+\ | Command+\ | Format JSON data, set proper indentation
`compact` | Ctrl+Shift+\ | Command+Shift+\ | Compact JSON data, remove all whitespace

View File

@ -1,38 +1,3 @@
# Shortcut keys # Shortcut keys
## Tree Editor This page has been renamed to [Key Bindings](#key_bindings.md).
Key | Description
----------------------- | ------------------------------------------------
Alt+Arrows | Move the caret up/down/left/right between fields
Ctrl+Shift+Arrow Up/Down| Select multiple fields
Shift+Alt+Arrows | Move current field or selected fields up/down/left/right
Ctrl+D | Duplicate field
Ctrl+Del | Remove field
Ctrl+Enter | Open link when on a field containing an url
Ctrl+Ins | Insert a new field with type auto
Ctrl+Shift+Ins | Append a new field with type auto
Ctrl+E | Expand or collapse field
Alt+End | Move the caret to the last field
Ctrl+F | Find
F3, Ctrl+G | Find next
Shift+F3, Ctrl+Shift+G | Find previous
Alt+Home | Move the caret to the first field
Ctrl+M | Show actions menu
Ctrl+Z | Undo last action
Ctrl+Shift+Z | Redo
## Code Editor
The code editor is powered by [Ace Editor](http://ace.c9.io/). This editor's
shortcut keys are described here:
https://github.com/ajaxorg/ace/wiki/Default-Keyboard-Shortcuts
Additionally, there are shortcut keys to format/compact the code:
Key | Description
----------------------- | ------------------------------------------------
Ctrl+\ | Format JSON data, set proper indentation
Ctrl+Shift+\ | Compact JSON data, remove all whitespace