diff --git a/main.ts b/main.ts index fbe02aa..fa87a77 100644 --- a/main.ts +++ b/main.ts @@ -42,13 +42,7 @@ export default class PrioPlugin extends Plugin { name: 'Set priority', editorCallback: (editor: Editor, view: MarkdownView) => { setPrio(editor, view, this.settings); - }, - hotkeys: [ - { - modifiers: ['Ctrl', 'Shift', 'Alt'], - key: 'p', - } - ] + } }); this.addCommand({ @@ -56,13 +50,7 @@ export default class PrioPlugin extends Plugin { name: 'Remove priority', editorCallback: (editor: Editor, view: MarkdownView) => { removePrio(editor, view, this.settings); - }, - hotkeys: [ - { - modifiers: ['Ctrl', 'Shift', 'Alt'], - key: 'd', - } - ] + } }) this.addCommand({ @@ -70,13 +58,7 @@ export default class PrioPlugin extends Plugin { name: 'Increase priority', editorCallback: (editor: Editor, view: MarkdownView) => { increasePrio(editor, view, this.settings); - }, - hotkeys: [ - { - modifiers: ['Ctrl', 'Shift', 'Alt'], - key: 'ArrowUp', - } - ] + } }); // This adds a complex command that can check whether the current state of the app allows execution of the command this.addCommand({ @@ -84,13 +66,7 @@ export default class PrioPlugin extends Plugin { name: 'Decrease priority', editorCallback: (editor: Editor, view: MarkdownView) => { decreasePrio(editor, view, this.settings); - }, - hotkeys: [ - { - modifiers: ['Ctrl', 'Shift', 'Alt'], - key: 'ArrowDown', - } - ] + } }); // This adds a settings tab so the user can configure various aspects of the plugin diff --git a/manifest.json b/manifest.json index 8c24b8e..7268dfd 100644 --- a/manifest.json +++ b/manifest.json @@ -1,11 +1,11 @@ { "id": "prioritize", "name": "Prioritize", - "version": "1.0.0", + "version": "1.0.1", "minAppVersion": "0.15.0", "description": "Prioritize your tasks and notes in Obsidian.", "author": "EloiMusk", "authorUrl": "https://github.com/EloiMusk/", "fundingUrl": "https://www.buymeacoffee.com/eloimusk", "isDesktopOnly": true -} +} \ No newline at end of file diff --git a/package.json b/package.json index 6a00766..a9f81ef 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-sample-plugin", - "version": "1.0.0", + "version": "1.0.1", "description": "This is a sample plugin for Obsidian (https://obsidian.md)", "main": "main.js", "scripts": { diff --git a/versions.json b/versions.json index 26382a1..3833de1 100644 --- a/versions.json +++ b/versions.json @@ -1,3 +1,4 @@ { + "1.0.1": "0.15.0", "1.0.0": "0.15.0" -} +} \ No newline at end of file