add multi cursor
This commit is contained in:
parent
35e7053922
commit
fb0b0eb9ab
2 changed files with 52 additions and 33 deletions
17
lua/custom/plugins/multi-cursor.lua
Normal file
17
lua/custom/plugins/multi-cursor.lua
Normal 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',
|
||||
},
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue