title: $:/plugins/tiddlywiki/codemirror/keyboard


!!Default keyboard shortcuts

!!!Basic shortcuts

|Shortcut |Function |h
|Left |goCharLeft |
|Right |goCharRight |
|Up |goLineUp |
|Down |goLineDown |
|End |goLineEnd |
|Home |goLineStartSmart |
|~PageUp |goPageUp |
|~PageDown |goPageDown |
|Delete |delCharAfter |
|Backspace |delCharBefore |
|Shift-Backspace |delCharBefore |
|Tab |defaultTab |
|Shift-Tab |indentAuto |
|Enter |newlineAndIndent |
|Insert |toggleOverwrite |
|Ctrl-Esc |singleSelection |


!!!Shortcuts on Windows and Linux

|Shortcut |Function |h
|Ctrl-A |selectAll |
|Ctrl-D |deleteLine |
|Ctrl-Z |undo |
|Shift-Ctrl-Z |redo |
|Ctrl-Y |redo |
|Ctrl-Home |goDocStart |
|Ctrl-End |goDocEnd |
|Ctrl-Up |goLineUp |
|Ctrl-Down |goLineDown |
|Ctrl-Left |goGroupLeft |
|Ctrl-Right |goGroupRight |
|Alt-Left |goLineStart |
|Alt-Right |goLineEnd |
|Ctrl-Backspace |delGroupBefore |
|Ctrl-Delete |delGroupAfter |
|Ctrl-F |find |
|Ctrl-G |findNext |
|Shift-Ctrl-G |findPrev |
|Shift-Ctrl-F |replace |
|Shift-Ctrl-R |replaceAll |
|Ctrl-[ |indentLess |
|Ctrl-] |indentMore |
|Alt-U |undoSelection |
|Shift-Ctrl-U |redoSelection |
|Shift-Alt-U |redoSelection |


!!!Shortcuts on ~MacOs

|Shortcut |Function |h
|Cmd-A |selectAll |
|Cmd-D |deleteLine |
|Cmd-Z |undo |
|Shift-Cmd-Z |redo |
|Cmd-Y |redo |
|Cmd-Home |goDocStart |
|Cmd-Up |goDocStart |
|Cmd-End |goDocEnd |
|Cmd-Down |goDocEnd |
|Alt-Left |goGroupLeft |
|Alt-Right |goGroupRight |
|Cmd-Left |goLineLeft |
|Cmd-Right |goLineRight |
|Alt-Backspace |delGroupBefore |
|Ctrl-Alt-Backspace |delGroupAfter |
|Alt-Delete |delGroupAfter |
|Cmd-F |find |
|Cmd-G |findNext |
|Shift-Cmd-G |findPrev |
|Cmd-Alt-F |replace |
|Shift-Cmd-Alt-F |replaceAll |
|Cmd-[ |indentLess |
|Cmd-] |indentMore |
|Cmd-Backspace |delWrappedLineLeft |
|Cmd-Delete |delWrappedLineRight |
|Alt-U |undoSelection |
|Shift-Alt-U |redoSelection |
|Ctrl-Up |goDocStart |
|Ctrl-Down |goDocEnd |
|Ctrl-F |goCharRight |
|Ctrl-B |goCharLeft |
|Ctrl-P |goLineUp |
|Ctrl-N |goLineDown |
|Alt-F |goWordRight |
|Alt-B |goWordLeft |
|Ctrl-A |goLineStart |
|Ctrl-E |goLineEnd |
|Ctrl-V |goPageDown |
|Shift-Ctrl-V |goPageUp |
|Ctrl-D |delCharAfter |
|Ctrl-H |delCharBefore |
|Alt-D |delWordAfter |
|Alt-Backspace |delWordBefore |
|Ctrl-K |killLine |
|Alt-T |transposeChars |
|Ctrl-O |openLine |


