dotfiles/.config/nvim/lua/plugins/extras/multicursor.lua
Sergio Laín c4e8fe2941
♻️ refactor(nvim): big changes to the config structure
a lot of plugins are moving to the extra modules
all the keymaps are on the keys section of each plugin
which-key options are now dependant on the plugin they are in, etc
2023-10-20 15:01:41 +02:00

19 lines
547 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,
},
}