Update keyboard shortcuts to use 'CTRL + ALT' for creating new note and going home
authorAdam Dullage <redacted>
Tue, 21 Jan 2025 19:03:54 +0000 (19:03 +0000)
committerAdam Dullage <redacted>
Tue, 21 Jan 2025 19:03:54 +0000 (19:03 +0000)
client/App.vue

index b2c4a3a5df1b7886412dab146e17d206de911137..285fc87ef44bc63cd81c458b4add10ac6588849d 100644 (file)
@@ -48,16 +48,16 @@ Mousetrap.bind("/", () => {
   }\r
 });\r
 \r
-// 'CTRL/CMD + ALT + N' to create new note\r
-Mousetrap.bindGlobal("mod+alt+n", () => {\r
+// 'CTRL + ALT/OPT + N' to create new note\r
+Mousetrap.bindGlobal("ctrl+alt+n", () => {\r
   if (route.name !== "login") {\r
     router.push({ name: "new" });\r
     return false;\r
   }\r
 });\r
 \r
-// 'CTRL/CMD + ALT + H' to go to home\r
-Mousetrap.bindGlobal("mod+alt+h", () => {\r
+// 'CTRL + ALT/OPT + H' to go to home\r
+Mousetrap.bindGlobal("ctrl+alt+h", () => {\r
   if (route.name !== "login") {\r
     router.push({ name: "home" });\r
     return false;\r
git clone https://git.99rst.org/PROJECT