mirror of
https://codeberg.org/diginaut/dotfiles.git
synced 2026-02-04 06:40:25 +01:00
Toggle markdown checkboxes, headings etc
This commit is contained in:
19
.config/nvim/lua/plugins/markdown-toggle.lua
Normal file
19
.config/nvim/lua/plugins/markdown-toggle.lua
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
return {
|
||||||
|
"roodolv/markdown-toggle.nvim",
|
||||||
|
config = function()
|
||||||
|
require("markdown-toggle").setup({
|
||||||
|
keymaps = {
|
||||||
|
toggle = {
|
||||||
|
["<C-q>"] = "quote",
|
||||||
|
["<C-l>"] = "list",
|
||||||
|
["<Leader><C-l>"] = "list_cycle",
|
||||||
|
["<C-n>"] = "olist",
|
||||||
|
["<M-x>"] = "checkbox",
|
||||||
|
["<Leader><M-x>"] = "checkbox_cycle",
|
||||||
|
["<C-h>"] = "heading",
|
||||||
|
["<Leader><C-h>"] = "heading_toggle",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user