vim: go back to vim-commentary, lazy loaded
This commit is contained in:
parent
546db023f4
commit
ce74aaef60
1 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
return {
|
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' },
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue