diff --git a/docs/key_bindings.md b/docs/key_bindings.md new file mode 100644 index 0000000..f3c41ec --- /dev/null +++ b/docs/key_bindings.md @@ -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 diff --git a/docs/shortcut_keys.md b/docs/shortcut_keys.md index 2c51543..9b5fa34 100644 --- a/docs/shortcut_keys.md +++ b/docs/shortcut_keys.md @@ -1,38 +1,3 @@ # Shortcut keys -## Tree Editor - -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 +This page has been renamed to [Key Bindings](#key_bindings.md).