Skip to content

Commit b7c29df

Browse files
committed
update mini config
1 parent c138910 commit b7c29df

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

lua/plugins/mini.lua

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,19 @@ return {
4040

4141
{
4242
"echasnovski/mini.splitjoin",
43-
event = "LazyFile",
43+
keys = {
44+
{
45+
"<leader>cj",
46+
function()
47+
require("mini.splitjoin").toggle()
48+
end,
49+
desc = "Split/Join Code",
50+
},
51+
},
4452
opts = {
53+
-- prevent conflict with mini.operators `gs`
4554
mappings = {
46-
toggle = "gJ", -- prevent conflict with mini.operators `gs`
55+
toggle = "<leader>cj",
4756
},
4857
},
4958
},

0 commit comments

Comments
 (0)