Overriding CTRL+Up & Down

This commit is contained in:
Matt Pass
2012-08-05 14:18:49 +01:00
parent d51f050d6e
commit 8cbc5d79d4

View File

@@ -177,7 +177,9 @@ function createNewCMInstance(num) {
onGutterClick: !fileName || (fileName && fileName.indexOf(".js") == -1 && fileName.indexOf(".coffee") == -1 && fileName.indexOf(".php") && fileName.indexOf(".rb") == -1) ? codeFold : codeFold_JS_Coffee_PHP_Ruby,
extraKeys: {
"Tab": function(cm) {CodeMirror.commands[top.tabsIndent ? "defaultTab" : "insertTab"](cm);},
"Shift-Tab": "indentLess"
"Shift-Tab": "indentLess",
"Ctrl-Up": function() {},
"Ctrl-Down": function() {}
}
});