提交 5c3cb6cf 编写于 作者: A Alex Dima

Improve keybinding rules for some find operations (#5727)

上级 4dbb6571
......@@ -736,10 +736,10 @@ registerFindCommand(FIND_IDS.ToggleRegexCommand, x => x.toggleRegex(), {
});
registerFindCommand(FIND_IDS.ReplaceOneAction, x => x.replace(), {
primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KEY_1
});
}, CONTEXT_FIND_WIDGET_VISIBLE);
registerFindCommand(FIND_IDS.ReplaceAllAction, x => x.replaceAll(), {
primary: KeyMod.CtrlCmd | KeyMod.Alt | KeyCode.Enter
});
}, CONTEXT_FIND_WIDGET_VISIBLE);
registerFindCommand(FIND_IDS.SelectAllMatchesAction, x => x.selectAllMatches(), {
primary: KeyMod.Alt | KeyCode.Enter
});
}, CONTEXT_FIND_WIDGET_VISIBLE);
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册