mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
Change use of ctrl + alt default keybinding (#10144)
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
import * as nls from 'vs/nls';
|
import * as nls from 'vs/nls';
|
||||||
import { alert } from 'vs/base/browser/ui/aria/aria';
|
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 { ICodeEditor } from 'vs/editor/browser/editorBrowser';
|
||||||
import { EditorAction, ServicesAccessor, registerEditorAction } from 'vs/editor/browser/editorExtensions';
|
import { EditorAction, ServicesAccessor, registerEditorAction } from 'vs/editor/browser/editorExtensions';
|
||||||
import { TabFocus } from 'vs/editor/common/config/commonEditorConfig';
|
import { TabFocus } from 'vs/editor/common/config/commonEditorConfig';
|
||||||
@@ -23,7 +23,7 @@ export class ToggleTabFocusModeAction extends EditorAction {
|
|||||||
precondition: undefined,
|
precondition: undefined,
|
||||||
kbOpts: {
|
kbOpts: {
|
||||||
kbExpr: null,
|
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 },
|
mac: { primary: KeyMod.WinCtrl | KeyMod.Shift | KeyCode.KEY_M },
|
||||||
weight: KeybindingWeight.EditorContrib
|
weight: KeybindingWeight.EditorContrib
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user