Change use of ctrl + alt default keybinding (#10144)

This commit is contained in:
Charles Gagnon
2020-04-27 16:41:23 -07:00
committed by GitHub
parent 8a6e918fff
commit 9d2f772380

View File

@@ -5,7 +5,7 @@
import * as nls from 'vs/nls';
import { alert } from 'vs/base/browser/ui/aria/aria';
import { KeyCode, KeyMod } from 'vs/base/common/keyCodes';
import { KeyCode, KeyMod, KeyChord } from 'vs/base/common/keyCodes';
import { ICodeEditor } from 'vs/editor/browser/editorBrowser';
import { EditorAction, ServicesAccessor, registerEditorAction } from 'vs/editor/browser/editorExtensions';
import { TabFocus } from 'vs/editor/common/config/commonEditorConfig';
@@ -23,7 +23,7 @@ export class ToggleTabFocusModeAction extends EditorAction {
precondition: undefined,
kbOpts: {
kbExpr: null,
primary: KeyMod.CtrlCmd | KeyMod.Alt | KeyCode.KEY_M, // {{SQL CARBON EDIT}} We use Ctrl+M already so move this to an unused binding
primary: KeyChord(KeyMod.CtrlCmd | KeyCode.KEY_K, KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KEY_M), // {{SQL CARBON EDIT}} We use Ctrl+M already so move this to an unused binding
mac: { primary: KeyMod.WinCtrl | KeyMod.Shift | KeyCode.KEY_M },
weight: KeybindingWeight.EditorContrib
}