mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-08-27 19:42:50 +00:00
![Simon Huber](/assets/img/avatar_default.png)
* add smartIndent config to codemirror * add indentWithTabs config to codemirror * make default tabSize same value as indentUnit * make tab and enter do smart indentation
18 lines
320 B
Plaintext
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()"
|
|
}
|