From 151dc537a57c636984ba80b8391fabd3a0ecb208 Mon Sep 17 00:00:00 2001 From: Alexander Kucera Date: Thu, 4 Sep 2025 22:26:46 +0200 Subject: [PATCH] Removes default hotkeys for export commands Removes the default hotkeys assigned to the export commands. This allows users to define their own preferred hotkeys without being restricted by default settings. --- main.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/main.ts b/main.ts index f26ad2e..70906da 100644 --- a/main.ts +++ b/main.ts @@ -199,7 +199,6 @@ export class obsidianTypstPDFExport extends Plugin { this.addCommand({ id: 'export-current-note', name: 'Export current note(s)', - hotkeys: [{ modifiers: ['Mod', 'Shift'], key: 'e' }], editorCallback: (editor: Editor, view: MarkdownView) => { this.exportCurrentNote(view); } @@ -209,7 +208,6 @@ export class obsidianTypstPDFExport extends Plugin { this.addCommand({ id: 'export-with-config', name: 'Export with configuration…', - hotkeys: [{ modifiers: ['Mod', 'Shift', 'Alt'], key: 'e' }], editorCallback: (editor: Editor, view: MarkdownView) => { this.showExportModal(view); }