add multi cursor

This commit is contained in:
Gilad Sher 2024-06-11 15:41:08 -04:00
parent 35e7053922
commit fb0b0eb9ab
2 changed files with 52 additions and 33 deletions

View file

@ -0,0 +1,17 @@
return {
'smoka7/multicursors.nvim',
event = 'VeryLazy',
dependencies = {
'smoka7/hydra.nvim',
},
opts = {},
cmd = { 'MCstart', 'MCvisual', 'MCclear', 'MCpattern', 'MCvisualPattern', 'MCunderCursor' },
keys = {
{
mode = { 'v', 'n' },
'<Leader>ms',
'<cmd>MCstart<cr>',
desc = 'Create a [M]ulti [S]election for selected text or word under the cursor',
},
},
}