From: Adam Dullage Date: Tue, 21 Jan 2025 19:03:54 +0000 (+0000) Subject: Update keyboard shortcuts to use 'CTRL + ALT' for creating new note and going home X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=737d95095780a0b209dc433d6d99a79774370951;p=flatnotes.git Update keyboard shortcuts to use 'CTRL + ALT' for creating new note and going home --- diff --git a/client/App.vue b/client/App.vue index b2c4a3a..285fc87 100644 --- a/client/App.vue +++ b/client/App.vue @@ -48,16 +48,16 @@ Mousetrap.bind("/", () => { } }); -// 'CTRL/CMD + ALT + N' to create new note -Mousetrap.bindGlobal("mod+alt+n", () => { +// 'CTRL + ALT/OPT + N' to create new note +Mousetrap.bindGlobal("ctrl+alt+n", () => { if (route.name !== "login") { router.push({ name: "new" }); return false; } }); -// 'CTRL/CMD + ALT + H' to go to home -Mousetrap.bindGlobal("mod+alt+h", () => { +// 'CTRL + ALT/OPT + H' to go to home +Mousetrap.bindGlobal("ctrl+alt+h", () => { if (route.name !== "login") { router.push({ name: "home" }); return false;