add Neoformat and multiple-cursors

This commit is contained in:
ant 2024-04-05 11:06:49 +02:00
parent 605429e5c4
commit cdca15c909

View file

@ -479,6 +479,23 @@ local plugins = {
justify_side = 'right',
},
},
},
{ 'sbdchd/neoformat' },
{
"brenton-leighton/multiple-cursors.nvim",
version = "*", -- Use the latest tagged version
opts = {}, -- This causes the plugin setup function to be called
keys = {
{ "<C-Down>", "<Cmd>MultipleCursorsAddDown<CR>", mode = { "n", "i" } },
{ "<C-j>", "<Cmd>MultipleCursorsAddDown<CR>" },
{ "<C-Up>", "<Cmd>MultipleCursorsAddUp<CR>", mode = { "n", "i" } },
{ "<C-k>", "<Cmd>MultipleCursorsAddUp<CR>" },
{ "<C-LeftMouse>", "<Cmd>MultipleCursorsMouseAddDelete<CR>", mode = { "n", "i" } },
{ "<Leader>a", "<Cmd>MultipleCursorsAddMatches<CR>", mode = { "n", "x" } },
{ "<Leader>A", "<Cmd>MultipleCursorsAddMatchesV<CR>", mode = { "n", "x" } },
-- { "<Leader>d", "<Cmd>MultipleCursorsAddJumpNextMatch<CR>", mode = { "n", "x" } },
-- { "<Leader>D", "<Cmd>MultipleCursorsJumpNextMatch<CR>" },
},
}
}