Skip to content
This repository was archived by the owner on Mar 2, 2026. It is now read-only.

feat: Enhanced recursive parent/child task search | insert [ ] on list#42

Open
echaya wants to merge 1 commit intoserenevoid:masterfrom
echaya:patch-1
Open

feat: Enhanced recursive parent/child task search | insert [ ] on list#42
echaya wants to merge 1 commit intoserenevoid:masterfrom
echaya:patch-1

Conversation

@echaya
Copy link
Contributor

@echaya echaya commented Jun 13, 2025

Hey there, me again :)

This PR is meant to allow [ ] automatically inserted on todo.toggle when cursor is on a list line. This was supported in vimwiki and I found it more ergonomics than insert [ ] myself.

During test, I also enhanced parent/child search logic to better handle the structure below

### todo
* [ ] parent
    * [x] child 1
        * some notes
            * some link
    * [ ] child 2
        * [x]  grandchild 1
            * some notes
        * [x] grandchild 2

1. Handles the case where there are child lists between tasks
2. Insert `[ ]` when cursor is on markdown list when toggle
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant