fixes #124850
This commit is contained in:
parent
e7b775adeb
commit
a476c9d4f0
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ const CUT_FILE_ID = 'filesExplorer.cut';
|
|||
KeybindingsRegistry.registerCommandAndKeybindingRule({
|
||||
id: CUT_FILE_ID,
|
||||
weight: KeybindingWeight.WorkbenchContrib + explorerCommandsWeightBonus,
|
||||
when: ContextKeyExpr.and(FilesExplorerFocusCondition, ExplorerRootContext.toNegated()),
|
||||
when: ContextKeyExpr.and(FilesExplorerFocusCondition, ExplorerRootContext.toNegated(), ExplorerResourceNotReadonlyContext),
|
||||
primary: KeyMod.CtrlCmd | KeyCode.KEY_X,
|
||||
handler: cutFileHandler,
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue