even cooler

This commit is contained in:
2025-12-18 23:12:43 +07:00
parent 3c21e12bf3
commit 1e969b43a0
18 changed files with 180 additions and 393 deletions

View File

@@ -2,5 +2,13 @@
return {
'b3nj5m1n/kommentary',
enabled = true,
lazy = true
lazy = true,
keys = {
{ 'gcc', '<Plug>kommentary_line_default', mode = 'n', desc = 'Comment', noremap = true, silent = true },
{ 'gc', '<Plug>kommentary_motion_default', mode = 'n', desc = 'Comment', noremap = true, silent = true },
{ 'gc', '<Plug>kommentary_visual_default<C-c>', mode = 'v', desc = 'Comment', noremap = true, silent = true },
},
config = function()
vim.g.kommentary_create_default_mappings = false
end
}