From 1c346198117edab78e31892920068023c82a58d9 Mon Sep 17 00:00:00 2001 From: ecosse3 Date: Mon, 17 Jul 2023 00:07:18 +0200 Subject: [PATCH] feat(plugins): change vim-visual-multi to multicursors.nvim --- lua/config/plugins.lua | 36 +++++++++++++++++++++--------------- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/lua/config/plugins.lua b/lua/config/plugins.lua index 400af911..d1727320 100644 --- a/lua/config/plugins.lua +++ b/lua/config/plugins.lua @@ -246,21 +246,27 @@ return { { "tpope/vim-repeat", lazy = false }, { "tpope/vim-speeddating", lazy = false }, { "dhruvasagar/vim-table-mode", ft = { "markdown" } }, - { - "mg979/vim-visual-multi", - keys = { - "", - "", - "", - "", - "", - "", - "", - }, - config = function() - vim.g.VM_leader = ";" - end, - }, + { + "smoka7/multicursors.nvim", + event = "VeryLazy", + dependencies = { + 'nvim-treesitter/nvim-treesitter', + 'smoka7/hydra.nvim', + }, + config = true, + keys = { + { + 'm', + 'MCstart', + desc = 'multicursor', + }, + { + '', + 'MCunderCursor', + desc = 'multicursor down', + }, + }, + }, { "nacro90/numb.nvim", lazy = false,