Skip to content

Commit df225ce

Browse files
authored
🐛 Editor: 修正 Ctrl-F Ctrl-H (#1312)
1 parent 00e1f9c commit df225ce

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/pages/options/routes/script/ScriptEditor.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,7 @@ function ScriptEditor() {
550550
{
551551
id: "find",
552552
title: t("find"),
553+
hotKey: KeyMod.CtrlCmd | KeyCode.KeyF,
553554
hotKeyString: "Ctrl+F",
554555
action(_script, e) {
555556
e.getAction("actions.find")?.run();
@@ -558,6 +559,7 @@ function ScriptEditor() {
558559
{
559560
id: "replace",
560561
title: t("replace"),
562+
hotKey: KeyMod.CtrlCmd | KeyCode.KeyH,
561563
hotKeyString: "Ctrl+H",
562564
action(_script, e) {
563565
e.getAction("editor.action.startFindReplaceAction")?.run();

0 commit comments

Comments
 (0)