fixed
Merge branch 'main' of code.joostagterhoek.nl:joost/nvim-macos
This commit is contained in:
commit
84a343fe4f
23
lua/plugins/checkbox-cycle.lua
Normal file
23
lua/plugins/checkbox-cycle.lua
Normal 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" },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user