dotfiles/.config/nvim/lua/plugins/extras/coding/multicursor.lua
Sergio Laín c2e92f0ef5
♻️ refactor(nvim): a lot of changes to the structure of the config
moved extras, mason and tressitter packages, and some new extras for web dev
2023-11-15 12:46:38 +01:00

17 lines
420 B
Lua

return {
"smoka7/multicursors.nvim",
dependencies = {
"nvim-treesitter/nvim-treesitter",
"smoka7/hydra.nvim",
},
cmd = { "MCstart", "MCvisual", "MCclear", "MCpattern", "MCvisualPattern", "MCunderCursor" },
keys = {
{
mode = { "v", "n" },
"<Leader>m",
"<cmd>MCstart<cr>",
desc = "Create a selection for selected text or word under the cursor",
},
},
config = true,
}