diff --git a/client/commonFramework.js b/client/commonFramework.js index be5be4533c..0a75d67d6d 100644 --- a/client/commonFramework.js +++ b/client/commonFramework.js @@ -216,6 +216,14 @@ var allSeeds = ''; }); })(); +var defaultKeymap = { + 'Cmd-E': 'emmet.expand_abbreviation', + 'Tab': 'emmet.expand_abbreviation_with_tab', + 'Enter': 'emmet.insert_formatted_line_break_only' +}; + +emmetCodeMirror(editor, defaultKeymap); + editor.setOption('extraKeys', { Tab: function(cm) { if (cm.somethingSelected()) {