X-Git-Url: http://git.scottworley.com/vopamoi/blobdiff_plain/f9aba985b1f9e1a7b76e2f2e605ee34bd23f153d..1b63569cace3349f099ea41de3bf1d19fdd9a630:/vopamoi.ts?ds=inline diff --git a/vopamoi.ts b/vopamoi.ts index f37ce2e..b739747 100644 --- a/vopamoi.ts +++ b/vopamoi.ts @@ -749,7 +749,7 @@ function handleKey(event: any) { if (event.key == "G") return browserUI.jumpCursor(inputCount ?? MAX_SAFE_INTEGER); if (event.key == "T") return browserUI.makeTopPriority(); if (event.key == "n") return browserUI.focusTaskNameInput(event); - if (event.key == "c") return browserUI.setState("cancelled"); + 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 (inputState = InputState.S); @@ -772,8 +772,11 @@ function handleKey(event: any) { } else if (inputState === InputState.V) { inputState = InputState.Root; if (event.key == "a") return browserUI.setView("all"); - if (event.key == "c") return browserUI.setView("cancelled"); + if (event.key == "C") return browserUI.setView("cancelled"); + if (event.key == "c") return browserUI.setTagView("comp"); if (event.key == "d") return browserUI.setView("done"); + if (event.key == "e") return browserUI.setTagView("errand"); + if (event.key == "h") return browserUI.setTagView("home"); if (event.key == "i") return browserUI.setUntaggedView(); if (event.key == "p") return browserUI.setTagView("Project"); if (event.key == "q") return browserUI.setView("todo"); @@ -784,6 +787,7 @@ function handleKey(event: any) { if (event.key == "v") return browserUI.resetView(); if (event.key == "w") return browserUI.setView("waiting"); if (event.key == "x") return browserUI.setView("deleted"); + if (event.key == "z") return browserUI.setTagView("zombie"); } else if (inputState === InputState.VS) { inputState = InputState.Root; if (event.key == "m") return browserUI.setView("someday-maybe");