add Neoformat and multiple-cursors
This commit is contained in:
parent
605429e5c4
commit
cdca15c909
1 changed files with 17 additions and 0 deletions
|
|
@ -479,6 +479,23 @@ local plugins = {
|
||||||
justify_side = 'right',
|
justify_side = 'right',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
},
|
||||||
|
{ 'sbdchd/neoformat' },
|
||||||
|
{
|
||||||
|
"brenton-leighton/multiple-cursors.nvim",
|
||||||
|
version = "*", -- Use the latest tagged version
|
||||||
|
opts = {}, -- This causes the plugin setup function to be called
|
||||||
|
keys = {
|
||||||
|
{ "<C-Down>", "<Cmd>MultipleCursorsAddDown<CR>", mode = { "n", "i" } },
|
||||||
|
{ "<C-j>", "<Cmd>MultipleCursorsAddDown<CR>" },
|
||||||
|
{ "<C-Up>", "<Cmd>MultipleCursorsAddUp<CR>", mode = { "n", "i" } },
|
||||||
|
{ "<C-k>", "<Cmd>MultipleCursorsAddUp<CR>" },
|
||||||
|
{ "<C-LeftMouse>", "<Cmd>MultipleCursorsMouseAddDelete<CR>", mode = { "n", "i" } },
|
||||||
|
{ "<Leader>a", "<Cmd>MultipleCursorsAddMatches<CR>", mode = { "n", "x" } },
|
||||||
|
{ "<Leader>A", "<Cmd>MultipleCursorsAddMatchesV<CR>", mode = { "n", "x" } },
|
||||||
|
-- { "<Leader>d", "<Cmd>MultipleCursorsAddJumpNextMatch<CR>", mode = { "n", "x" } },
|
||||||
|
-- { "<Leader>D", "<Cmd>MultipleCursorsJumpNextMatch<CR>" },
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue