Files
dotfiles/.config/nvim/lua/plugins/comment.lua
2025-05-10 10:18:28 +03:00

11 lines
303 B
Lua
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

return {
"numToStr/Comment.nvim",
keys = {
{ "gc", mode = { "n", "x" } },
{ "gb", mode = { "n", "x" } },
{ "gp", "yy<Plug>(comment_toggle_linewise_current)p" },
{ "gp", "ygv<Plug>(comment_toggle_blockwise_visual)'>o<CR>p==", mode = "x" },
},
opts = {}
}