Unverified Commit 2649755b authored by Liana Husikyan's avatar Liana Husikyan Committed by GitHub

Merge pull request #1821 from ckshei/swap_it

Un-mapping brace shortcut Cmd-L which clobbers with browser shortcut
parents e7810ca5 1bb17910
...@@ -99,8 +99,11 @@ class Editor { ...@@ -99,8 +99,11 @@ class Editor {
this.editor = ace.edit(el) this.editor = ace.edit(el)
ace.acequire('ace/ext/language_tools') ace.acequire('ace/ext/language_tools')
// Unmap ctrl-t & ctrl-f // Unmap ctrl-l & cmd-l
this.editor.commands.bindKeys({ 'ctrl-t': null }) this.editor.commands.bindKeys({
'ctrl-L': null,
'Command-L': null
})
// shortcuts for "Ctrl-"" and "Ctrl+"" to increase/decrease font size of the editor // shortcuts for "Ctrl-"" and "Ctrl+"" to increase/decrease font size of the editor
this.editor.commands.addCommand({ this.editor.commands.addCommand({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment