Skip to content

Commit

Permalink
feat(nvim): add multicursor
Browse files Browse the repository at this point in the history
  • Loading branch information
fisenkodv authored Sep 18, 2024
1 parent 4af58a0 commit 65e7d0a
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions config/nvim/lua/plugins/multicursor.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
return {
-- lazy.nvim:
{
"smoka7/multicursors.nvim",
event = "VeryLazy",
dependencies = {
"nvimtools/hydra.nvim",
},
opts = {},
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",
},
},
},
}

0 comments on commit 65e7d0a

Please sign in to comment.