From 54601c877a0d87b8690169e6e70b42351dfacba3 Mon Sep 17 00:00:00 2001 From: Joost Agterhoek Date: Wed, 9 Jul 2025 09:26:55 +0200 Subject: [PATCH] checkbox cycle --- lua/plugins/checkbox-cycle.lua | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 lua/plugins/checkbox-cycle.lua 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" }, + }, + }, +}