Improved neovim config
This commit is contained in:
parent
f6b9a5b57e
commit
383ebe0fba
15 changed files with 169 additions and 76 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue