obsidian-task-collector
obsidian-task-collector copied to clipboard
[Feature Request] Cycle workflow with keyboard hotkey
Feature description
In my normal workflow, i would like to be able to quickly cycle through a sequence of checkbox types to quickly assign status of a checkbox.
As an example, I might want a workflow sequence with:
- [ ] (status not done /empty )
- [/] (In process / incomplete)
- [s] (scheduled}
- [w] (waiting)
- [x] (done)
Hitting ctrl-enter
four times would.
- Convert the line to a checkbox (with empty status)
- Switch to
[/]
Incomplete status - Switch to
[s]
scheduled status - Switch to
[w]
waiting status
Feature Configuration
- settings field with a configurable sequence of checkbox characters.
- configurable hotkey with
ctrl-enter
as default to advance sequence (go from empty to incomplete) - configurable hotkey with
shift-enter
as default to reverse sequence (go from scheduled to incomplete)
if you set a hotkey for Marking a Task ... you can just use a keystroke to specify what you want (with no cycle). The modal pops up, but keyboard input is fine.. you don't have to click anything.
Your example above could be:
- Convert to checkbox
- Ctrl-Shift-Enter (Mark Task)
-
/
OR
- Convert to checkbox
- Ctrl-Shift-Enter (Mark Task)
-
s
Yeah, I know. I'm currently using that, but it's a bit clunky as a workflow. I want to enforce the progression from one status to another status. Going from in progress to waiting for example.
It would be a lot easier and faster to just hold down the CTRL button and then hit enter 3x. And if one makes a mistake, just hit shift enter a few times.
I could write a custom script to do this but it's just seems to be a natural feature for this plugin.
This was implemented as another plugin https://github.com/thingnotok/obsidian-toggle-list
@ebullient I think we can close this
This is included in the 1.0 release (BRAT at the moment)