Skip to content

feat: cycle checkboxes through every marker - #33

Open
Necrom4 wants to merge 1 commit into
bullets-vim:mainfrom
Necrom4:feat/cycle-checkbox
Open

Necrom4 wants to merge 1 commit into
bullets-vim:mainfrom
Necrom4:feat/cycle-checkbox

Conversation

@Necrom4

@Necrom4 Necrom4 commented Nov 14, 2026

Copy link
Copy Markdown

Add :CycleCheckbox and <Plug>(bullets-cycle-checkbox), which advance a checkbox through all configured markers, partial ones included, and wrap from checked to unchecked. With nested checkboxes, cycling to checked or unchecked updates children, cycling to a partial marker keeps them, and ancestors are recomputed.

Parents with no checked children but at least one partial child now use the first partial marker instead of unchecked.

Add :CycleCheckbox and <Plug>(bullets-cycle-checkbox), which advance
a checkbox through all configured markers, partial ones included,
and wrap from checked to unchecked. With nested checkboxes, cycling
to checked or unchecked updates children, cycling to a partial
marker keeps them, and ancestors are recomputed.

Parents with no checked children but at least one partial child now
use the first partial marker instead of unchecked.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant