Skip to content

Commit

Permalink
#241 Update keyboard shortcuts for creating new note and going home t…
Browse files Browse the repository at this point in the history
…o use ALT instead of SHIFT
  • Loading branch information
dullage committed Jan 17, 2025
1 parent f317d7a commit cd70c47
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions client/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit cd70c47

Please sign in to comment.