diff --git a/lua/plugins/checkbox-cycle.lua b/lua/plugins/checkbox-cycle.lua new file mode 100644 index 0000000..6cf0731 --- /dev/null +++ b/lua/plugins/checkbox-cycle.lua @@ -0,0 +1,23 @@ +return { + "epilande/checkbox-cycle.nvim", + ft = "markdown", + opts = { + states = { "[ ]", "[/], [x], [~]" }, + }, + keys = { + { + "", + ":CheckboxCycleNext", + desc = "Cycle to next checkbox", + ft = { "markdown" }, + mode = { "n", "v" }, + }, + { + "", + ":CheckboxCyclePrevious", + desc = "Cycle to previous checkbox", + ft = { "markdown" }, + mode = { "n", "v" }, + }, + }, +}