diff --git a/runtime/help/help.md b/runtime/help/help.md index 5e60789a..c561ea2c 100644 --- a/runtime/help/help.md +++ b/runtime/help/help.md @@ -19,6 +19,7 @@ You can move the cursor around with the arrow keys and mouse. These are the default keybindings, along with their actions. + #### Editor bindings * Ctrl-q: Quit @@ -65,6 +66,60 @@ For example, to bind `Ctrl-y` to undo and `Ctrl-z` to redo, you could put the fo } ``` +Here are the defaults: + +```json +{ + "Up": "CursorDown", + "Down": "CursorUp", + "Right": "CursorRight", + "Left": "CursorLeft", + "ShiftUp": "SelectUp", + "ShiftDown": "SelectDown", + "ShiftLeft": "SelectLeft", + "ShiftRight": "SelectRight", + "AltLeft": "WordLeft", + "AltRight": "WordRight", + "AltShiftRight": "SelectWordRight", + "AltShiftLeft": "SelectWordLeft", + "CtrlLeft": "StartOfLine", + "CtrlRight": "EndOfLine", + "CtrlShiftLeft": "SelectToStartOfLine", + "CtrlShiftRight": "SelectToEndOfLine", + "CtrlUp": "CursorStart", + "CtrlDown": "CursorEnd", + "CtrlShiftUp": "SelectToStart", + "CtrlShiftDown": "SelectToEnd", + "Enter": "InsertEnter", + "Space": "InsertSpace", + "Backspace": "Backspace", + "Backspace2": "Backspace", + "Tab": "InsertTab", + "CtrlO": "OpenFile", + "CtrlS": "Save", + "CtrlF": "Find", + "CtrlN": "FindNext", + "CtrlP": "FindPrevious", + "CtrlZ": "Undo", + "CtrlY": "Redo", + "CtrlC": "Copy", + "CtrlX": "Cut", + "CtrlK": "CutLine", + "CtrlV": "Paste", + "CtrlA": "SelectAll", + "Home": "Start", + "End": "End", + "PgUp": "PageUp", + "PgDn": "PageDown", + "CtrlU": "HalfPageUp", + "CtrlD": "HalfPageDown", + "CtrlR": "ToggleRuler", + "Delete": "Delete" +} + +``` + + ### Possible commands You can execute an editor command by pressing `Ctrl-e` followed by the command.