From: Scott Worley Date: Thu, 27 Jan 2022 19:06:48 +0000 (-0800) Subject: Change "todo" view key "t" -> "q" ("queue") X-Git-Url: http://git.scottworley.com/vopamoi/commitdiff_plain/1f300e109962a47d2e1928018ea220d98dd0ab26?ds=sidebyside;hp=3a731557d09232dbf6871a33cff2cbeda42db880 Change "todo" view key "t" -> "q" ("queue") --- diff --git a/vopamoi.ts b/vopamoi.ts index 01e761c..a76db5b 100644 --- a/vopamoi.ts +++ b/vopamoi.ts @@ -364,8 +364,8 @@ function handleKey(event: any) { if (event.key == "n") return browserUI.focusTaskNameInput(event); if (event.key == "c") return browserUI.setState("cancelled"); if (event.key == "d") return browserUI.setState("done"); + if (event.key == "q") return browserUI.setState("todo"); if (event.key == "s") return browserUI.setState("someday-maybe"); - if (event.key == "t") return browserUI.setState("todo"); if (event.key == "w") return browserUI.setState("waiting"); if (event.key == "X") return browserUI.setState("deleted"); if (event.key == "u") return browserUI.undo(); @@ -375,8 +375,8 @@ function handleKey(event: any) { inputState = InputState.Command; if (event.key == "c") return browserUI.setView("cancelled"); if (event.key == "d") return browserUI.setView("done"); + if (event.key == "q") return browserUI.setView("todo"); if (event.key == "s") return browserUI.setView("someday-maybe"); - if (event.key == "t") return browserUI.setView("todo"); if (event.key == "w") return browserUI.setView("waiting"); if (event.key == "x") return browserUI.setView("deleted"); }