Refactored nvim config to make it easier and less insanely nested

This commit is contained in:
2025-04-24 11:36:39 +03:00
parent dbd9a6fdd0
commit 6bef8f32b1
75 changed files with 17 additions and 17 deletions

View File

@@ -0,0 +1,12 @@
return {
'roodolv/markdown-toggle.nvim',
event = 'VeryLazy',
config = function()
require('markdown-toggle').setup()
local opts = { silent = true, noremap = true }
local toggle = require('markdown-toggle')
vim.keymap.set({ 'n', 'x' }, '<leader>tu', toggle.list, opts)
vim.keymap.set({ 'n', 'x' }, '<leader>to', toggle.olist, opts)
vim.keymap.set({ 'n', 'x' }, '<leader>tm', toggle.checkbox, opts)
end,
}