From: Adam Dullage Date: Fri, 17 Jan 2025 12:55:06 +0000 (+0000) Subject: #241 Update keyboard shortcuts for creating new note and going home to use ALT instea... X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=cd70c47396031a4a07e89c01d38454298a819481;p=flatnotes.git #241 Update keyboard shortcuts for creating new note and going home to use ALT instead of SHIFT --- diff --git a/client/App.vue b/client/App.vue index 0f30ceb..b2c4a3a 100644 --- a/client/App.vue +++ b/client/App.vue @@ -48,16 +48,16 @@ Mousetrap.bind("/", () => { } }); -// 'CTRL/CMD + SHIFT + N' to create new note -Mousetrap.bindGlobal("mod+shift+n", () => { +// 'CTRL/CMD + ALT + N' to create new note +Mousetrap.bindGlobal("mod+alt+n", () => { if (route.name !== "login") { router.push({ name: "new" }); return false; } }); -// 'CTRL/CMD + SHIFT + H' to go to home -Mousetrap.bindGlobal("mod+shift+h", () => { +// 'CTRL/CMD + ALT + H' to go to home +Mousetrap.bindGlobal("mod+alt+h", () => { if (route.name !== "login") { router.push({ name: "home" }); return false;