1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-30 20:10:28 +00:00
TiddlyWiki5/plugins/tiddlywiki/codemirror/config/extraKeysTW.tid
Simon Huber 41e338dc41 Add smartIndent to codemirror (#3810)
* add smartIndent config to codemirror

* add indentWithTabs config to codemirror

* make default tabSize same value as indentUnit

* make tab and enter do smart indentation
2019-03-02 14:46:10 +01:00

18 lines
320 B
Plaintext

title: $:/config/codemirror/extraKeysTW
extend: extraKeys
type: json
{
"Ctrl-Esc": "singleSelection",
"Esc": "",
"Ctrl-S": "",
"Ctrl-U": "",
"Ctrl-T": "",
"Alt-T": "transposeChars",
"Alt-U": "undoSelection",
"Shift-Alt-U": "redoSelection",
"Cmd-U": "",
"Tab": "indentAuto()",
"Enter": "newLineAndIndent()"
}