mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-26 01:50:28 +00:00
41e338dc41
* 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()"
|
|
}
|