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.
This commit is contained in:
AlexKucera committed 2025-09-04 22:26:46 +02:00
1 parent 70241a012c
commit 151dc537a5
1 file changed
-2
-2
View File
@@ -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);
}