From 8d7e1d769a02a117dcf84e036b8f4625deac7bb7 Mon Sep 17 00:00:00 2001 From: Fabio Scotto di Santolo Date: Tue, 30 Jul 2024 13:57:48 +0200 Subject: [PATCH] Added multicursors plugin to Neovim --- .../nvim/lua/plugins/multicursors.lua | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 nvim/dot-config/nvim/lua/plugins/multicursors.lua diff --git a/nvim/dot-config/nvim/lua/plugins/multicursors.lua b/nvim/dot-config/nvim/lua/plugins/multicursors.lua new file mode 100644 index 0000000..80183e6 --- /dev/null +++ b/nvim/dot-config/nvim/lua/plugins/multicursors.lua @@ -0,0 +1,17 @@ +return { + "smoka7/multicursors.nvim", + event = "VeryLazy", + dependencies = { + "nvimtools/hydra.nvim", + }, + opts = {}, + cmd = { "MCstart", "MCvisual", "MCclear", "MCpattern", "MCvisualPattern", "MCunderCursor" }, + keys = { + { + mode = { "v", "n" }, + "m", + "MCstart", + desc = "Create a selection for selected text or word under the cursor", + }, + }, +}