nvim-config/lua/plugins/comments.lua
Kiril 6327c991fa Use Ctrl-/ for commenting (may change later)
Currently considering whether to use this VSCode-style keykind or
whether to switch to the more Vimic "gc" family of commands; I am
somewhat finding the Ctrl-/ method to be more familiar, but less
efficient given the layout of my fingers in Neovim.
2024-05-20 01:42:48 +01:00

21 lines
492 B
Lua

return {
-- add this to your lua/plugins.lua, lua/plugins/init.lua, or the file you keep your other plugins:
{
"numToStr/Comment.nvim",
opts = {
-- add any options here
toggler = {
line = "<C-_>",
},
opleader = {
line = "<C-_>",
},
},
lazy = false,
},
{
"folke/todo-comments.nvim",
dependencies = { "nvim-lua/plenary.nvim" },
},
}