]> git.scottworley.com Git - vopamoi/commitdiff
Accept "vv" for jumping to the default view
authorScott Worley <scottworley@scottworley.com>
Fri, 28 Jan 2022 03:09:20 +0000 (19:09 -0800)
committerScott Worley <scottworley@scottworley.com>
Fri, 28 Jan 2022 03:09:20 +0000 (19:09 -0800)
vopamoi.ts

index 6519cbfc4367a1f2290a5598b07f9f001d9a87c4..366edd6c3fc6803f0e4de311184d36f5d67d7e39 100644 (file)
@@ -457,6 +457,7 @@ function handleKey(event: any) {
       if (event.key == "d") return browserUI.setView("done", "LawnGreen");
       if (event.key == "q") return browserUI.setView("todo", "White");
       if (event.key == "s") return browserUI.setView("someday-maybe", "DeepSkyBlue");
+      if (event.key == "v") return browserUI.setView("todo", "White");
       if (event.key == "w") return browserUI.setView("waiting", "MediumOrchid");
       if (event.key == "x") return browserUI.setView("deleted", "Black");
     }