mirror of
https://github.com/Microsoft/vscode
synced 2024-10-30 13:43:07 +00:00
refix keybind
This commit is contained in:
parent
1ffbc7843a
commit
61b03f3af8
1 changed files with 9 additions and 9 deletions
|
@ -49,7 +49,7 @@ import { RunOnceScheduler } from 'vs/base/common/async';
|
||||||
import { DomScrollableElement } from 'vs/base/browser/ui/scrollbar/scrollableElement';
|
import { DomScrollableElement } from 'vs/base/browser/ui/scrollbar/scrollableElement';
|
||||||
import { ScrollbarVisibility } from 'vs/base/common/scrollable';
|
import { ScrollbarVisibility } from 'vs/base/common/scrollable';
|
||||||
import { URI } from 'vs/base/common/uri';
|
import { URI } from 'vs/base/common/uri';
|
||||||
import { KeyMod, KeyCode } from 'vs/base/common/keyCodes';
|
import { KeyMod, KeyCode, KeyChord } from 'vs/base/common/keyCodes';
|
||||||
import { KeybindingWeight } from 'vs/platform/keybinding/common/keybindingsRegistry';
|
import { KeybindingWeight } from 'vs/platform/keybinding/common/keybindingsRegistry';
|
||||||
|
|
||||||
export interface IPaneColors extends IColorMapping {
|
export interface IPaneColors extends IColorMapping {
|
||||||
|
@ -1580,8 +1580,8 @@ registerAction2(
|
||||||
id: 'views.moveViewUp',
|
id: 'views.moveViewUp',
|
||||||
title: nls.localize('viewMoveUp', "Move View Up"),
|
title: nls.localize('viewMoveUp', "Move View Up"),
|
||||||
keybinding: {
|
keybinding: {
|
||||||
primary: KeyMod.Shift + KeyMod.Alt + KeyCode.UpArrow,
|
primary: KeyChord(KeyMod.CtrlCmd + KeyCode.KEY_K, KeyCode.UpArrow),
|
||||||
weight: KeybindingWeight.WorkbenchContrib,
|
weight: KeybindingWeight.WorkbenchContrib + 1,
|
||||||
when: FocusedViewContext.notEqualsTo('')
|
when: FocusedViewContext.notEqualsTo('')
|
||||||
}
|
}
|
||||||
}, -1);
|
}, -1);
|
||||||
|
@ -1596,8 +1596,8 @@ registerAction2(
|
||||||
id: 'views.moveViewLeft',
|
id: 'views.moveViewLeft',
|
||||||
title: nls.localize('viewMoveLeft', "Move View Left"),
|
title: nls.localize('viewMoveLeft', "Move View Left"),
|
||||||
keybinding: {
|
keybinding: {
|
||||||
primary: KeyMod.Shift + KeyMod.Alt + KeyCode.LeftArrow,
|
primary: KeyChord(KeyMod.CtrlCmd + KeyCode.KEY_K, KeyCode.LeftArrow),
|
||||||
weight: KeybindingWeight.WorkbenchContrib,
|
weight: KeybindingWeight.WorkbenchContrib + 1,
|
||||||
when: FocusedViewContext.notEqualsTo('')
|
when: FocusedViewContext.notEqualsTo('')
|
||||||
}
|
}
|
||||||
}, -1);
|
}, -1);
|
||||||
|
@ -1612,8 +1612,8 @@ registerAction2(
|
||||||
id: 'views.moveViewDown',
|
id: 'views.moveViewDown',
|
||||||
title: nls.localize('viewMoveDown', "Move View Down"),
|
title: nls.localize('viewMoveDown', "Move View Down"),
|
||||||
keybinding: {
|
keybinding: {
|
||||||
primary: KeyMod.Shift + KeyMod.Alt + KeyCode.DownArrow,
|
primary: KeyChord(KeyMod.CtrlCmd + KeyCode.KEY_K, KeyCode.DownArrow),
|
||||||
weight: KeybindingWeight.WorkbenchContrib,
|
weight: KeybindingWeight.WorkbenchContrib + 1,
|
||||||
when: FocusedViewContext.notEqualsTo('')
|
when: FocusedViewContext.notEqualsTo('')
|
||||||
}
|
}
|
||||||
}, 1);
|
}, 1);
|
||||||
|
@ -1628,8 +1628,8 @@ registerAction2(
|
||||||
id: 'views.moveViewRight',
|
id: 'views.moveViewRight',
|
||||||
title: nls.localize('viewMoveRight', "Move View Right"),
|
title: nls.localize('viewMoveRight', "Move View Right"),
|
||||||
keybinding: {
|
keybinding: {
|
||||||
primary: KeyMod.Shift + KeyMod.Alt + KeyCode.RightArrow,
|
primary: KeyChord(KeyMod.CtrlCmd + KeyCode.KEY_K, KeyCode.RightArrow),
|
||||||
weight: KeybindingWeight.WorkbenchContrib,
|
weight: KeybindingWeight.WorkbenchContrib + 1,
|
||||||
when: FocusedViewContext.notEqualsTo('')
|
when: FocusedViewContext.notEqualsTo('')
|
||||||
}
|
}
|
||||||
}, 1);
|
}, 1);
|
||||||
|
|
Loading…
Reference in a new issue