Now when you hit the TAB key in codemirror, it will insert 4 spaces.

This commit is contained in:
Ned Batchelder
2012-10-03 16:19:04 -04:00
parent 67fb486f88
commit 52ccfab122

View File

@@ -42,7 +42,12 @@
lineWrapping: true,
indentUnit: "${tabsize}",
tabSize: "${tabsize}",
indentWithTabs: true,
indentWithTabs: false,
extraKeys: {
"Tab": function(cm) {
cm.replaceSelection("${' '*tabsize}", "end");
}
},
smartIndent: false
});
});