checkbox cycle

This commit is contained in:
Joost Agterhoek 2025-07-09 09:26:55 +02:00
parent 426c0aed3f
commit 54601c877a

View File

@ -0,0 +1,23 @@
return {
"epilande/checkbox-cycle.nvim",
ft = "markdown",
opts = {
states = { "[ ]", "[/], [x], [~]" },
},
keys = {
{
"<CR>",
":CheckboxCycleNext<CR>",
desc = "Cycle to next checkbox",
ft = { "markdown" },
mode = { "n", "v" },
},
{
"<S-CR>",
":CheckboxCyclePrevious<CR>",
desc = "Cycle to previous checkbox",
ft = { "markdown" },
mode = { "n", "v" },
},
},
}