mirror of
https://github.com/gabehf/nvim-conf.git
synced 2026-03-12 00:40:33 -07:00
[wip] rebuild from scratch
This commit is contained in:
parent
5c607d047b
commit
91ba5541a3
35 changed files with 473 additions and 485 deletions
14
lua/plugins/comment.lua
Normal file
14
lua/plugins/comment.lua
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
return {
|
||||
"numToStr/Comment.nvim",
|
||||
keys = {
|
||||
{ "gcc", mode = "n", desc = "Comment toggle current line" },
|
||||
{ "gc", mode = { "n", "o" }, desc = "Comment toggle linewise" },
|
||||
{ "gc", mode = "x", desc = "Comment toggle linewise (visual)" },
|
||||
{ "gbc", mode = "n", desc = "Comment toggle current block" },
|
||||
{ "gb", mode = { "n", "o" }, desc = "Comment toggle blockwise" },
|
||||
{ "gb", mode = "x", desc = "Comment toggle blockwise (visual)" },
|
||||
},
|
||||
config = function(_, opts)
|
||||
require("Comment").setup(opts)
|
||||
end,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue