editor: (mac) remove dangling kb shortcuts in code editor

This commit is contained in:
jean-emmanuel 2022-03-06 15:43:50 +01:00
parent 12beb37b53
commit a9c1f01e8e

View file

@ -71,6 +71,7 @@ class CodeEditor {
this.editor.$blockScrolling = Infinity
this.editor.commands.bindKeys({
'ctrl-l': null, 'ctrl-f': null, 'ctrl-h': null, 'ctrl-,': null,
'cmd-l': null, 'cmd-f': null, 'cmd-h': null, 'cmd-,': null,
})
this.editor.renderer.setScrollMargin(4, 4, 0, 4)
this.editor.element = this.container