Improved neovim config

This commit is contained in:
2023-08-21 19:19:37 +02:00
parent 2ad93d9338
commit ce110d730e
15 changed files with 169 additions and 76 deletions

View File

@ -1,6 +1,9 @@
return {
"numToStr/Comment.nvim",
event = "VeryLazy",
keys = {
{"<C-_>", "<cmd>lua require('Comment.api').toggle.linewise.current()<cr>", desc = "Toggle comment"},
{"<C-_>", "<esc><cmd>lua require('Comment.api').toggle.linewise(vim.fn.visualmode())<cr>", mode = "v", desc = "Toggle comment"},
},
config = true,
opts = {
mappings = {