From 33949013b7672790cc907d5a90b3b9ee89057ed9 Mon Sep 17 00:00:00 2001 From: lazyloong <2950449004@qq.com> Date: Mon, 25 Dec 2023 16:29:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=89=93=E5=BC=80=E5=88=B0=E6=96=B0?= =?UTF-8?q?=E6=B5=AE=E7=AA=97=E5=92=8C=E8=B7=B3=E5=88=B0=E4=B8=8A=E4=B8=80?= =?UTF-8?q?=E4=B8=AA=E7=9A=84=E5=8A=9F=E8=83=BD=E5=86=B2=E7=AA=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 2 +- src/fuzzyFileModal.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.json b/manifest.json index 1cc8b1c..67b876f 100644 --- a/manifest.json +++ b/manifest.json @@ -5,5 +5,5 @@ "author": "lazyloong", "minAppVersion": "1.0.0", - "version": "2.11.0" + "version": "2.11.1" } diff --git a/src/fuzzyFileModal.ts b/src/fuzzyFileModal.ts index 0e891e7..c6f9743 100644 --- a/src/fuzzyFileModal.ts +++ b/src/fuzzyFileModal.ts @@ -57,7 +57,7 @@ export default class FuzzyFileModal extends FuzzyModal { ]; if (app.plugins.plugins["obsidian-hover-editor"]) prompt.push({ - command: "ctrl p", + command: "ctrl o", purpose: "打开到新浮窗", }); @@ -105,7 +105,7 @@ export default class FuzzyFileModal extends FuzzyModal { getNewOrAdjacentLeaf(app.workspace.getMostRecentLeaf()).openFile(file); }); if (app.plugins.plugins["obsidian-hover-editor"]) - this.scope.register(["Mod"], "p", (event: KeyboardEvent) => { + this.scope.register(["Mod"], "o", (event: KeyboardEvent) => { this.close(); let item = this.chooser.values[this.chooser.selectedItem]; const newLeaf = app.plugins.plugins["obsidian-hover-editor"].spawnPopover(