diff --git a/applications/admin/views/default/edit.html b/applications/admin/views/default/edit.html index 31f7a040..59c10af8 100644 --- a/applications/admin/views/default/edit.html +++ b/applications/admin/views/default/edit.html @@ -45,6 +45,7 @@ + diff --git a/applications/admin/views/default/edit_js.html b/applications/admin/views/default/edit_js.html index 51bd27ef..571839b8 100644 --- a/applications/admin/views/default/edit_js.html +++ b/applications/admin/views/default/edit_js.html @@ -114,6 +114,7 @@ CodeMirror.showHint(cm, CodeMirror.pythonHint); } {{pass}} + CodeMirror.defaults.extraKeys["Ctrl-/"] = "toggleComment"; store_changes_function = function(instance, changeObj) { jQuery(instance).data('saved', false); instance.off("change", store_changes_function); @@ -154,34 +155,26 @@
- {{if filetype=='html':}} + {{if filetype=='html':}}

{{=T('Key bindings for ZenCoding Plugin')}}

- - {{else:}} + {{else:}}

{{=T("Key bindings")}}

+ {{pass}} + {{=shortcut('Ctrl-/ ', T('Toggle comment'))}} + {{if filetype=='html':}} + {{=shortcut('Tab', T('Expand Abbreviation'))}} + {{elif filetype=='python':}} + {{=shortcut('Ctrl-Space', T('Autocomplete Python Code'))}} {{pass}} +