Call keymap default behaviour

Is there a way from within an extraKeys handler to call the default behavior for that key ?

That is can I do for example:

CodeMirror.setOption(“extraKeys”, {
Tab: function(cm) {
if (cond) {
// my special tab behavior
} else {
// CM default ‘normal’ tab behavior
}
});

What I’m trying to achieve is to override Ctrl+Right so that if it’s pressed on a blank line it will jump under the indentation of the previous line, but otherwise will work as normal.

Thanks!
Micha

Yes, there is. Have your handler return CodeMirror.Pass to allow the next matching handler (or the browser default behavior) to go through.

Thanks Marijn!