1
0
mirror of https://codeberg.org/diginaut/dotfiles.git synced 2026-02-04 17:00:26 +01:00
Files
dotfiles/.config/nvim/lua/plugins/markdown-toggle.lua

24 lines
563 B
Lua

return {
"roodolv/markdown-toggle.nvim",
config = function()
require("markdown-toggle").setup({
-- cycle through checkboxes
cycle_box_table = true,
-- doing, done, wut, important, forwarded
box_table = { "/", "x", "?", "!", ">" },
keymaps = {
toggle = {
["<C-q>"] = "quote",
["<C-l>"] = "list",
["<Leader><C-l>"] = "list_cycle",
["<C-n>"] = "olist",
["<M-x>"] = "checkbox_cycle",
["<Leader><M-x>"] = "checkbox",
["<C-h>"] = "heading",
["<Leader><C-h>"] = "heading_toggle",
},
},
})
end,
}