vim: go back to vim-commentary, lazy loaded

This commit is contained in:
Fernando Schauenburg 2023-08-11 03:17:32 +02:00
parent 546db023f4
commit ce74aaef60

View file

@ -1,3 +1,9 @@
return {
'numToStr/Comment.nvim',
'tpope/vim-commentary',
cmd = 'Commentary',
keys = {
{ 'gc', '<Plug>Commentary', mode = { 'n', 'x', 'o' }, desc = 'Comment in/out' },
{ 'gcc', '<Plug>CommentaryLine', desc = 'Comment in/out line' },
{ 'gcu', '<Plug>Commentary<Plug>Commentary', desc = 'Undo comment in/out' },
},
}