mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 16:39:04 +02:00
enc: update default config which-key
This commit is contained in:
parent
c0eb97fa96
commit
18f8a746e4
2 changed files with 3 additions and 4 deletions
|
@ -88,10 +88,8 @@ pcode.dap_ensure_installed = {
|
||||||
-- https://github.com/folke/which-key.nvim
|
-- https://github.com/folke/which-key.nvim
|
||||||
pcode.whichkey = {
|
pcode.whichkey = {
|
||||||
-- contoh penambahan
|
-- contoh penambahan
|
||||||
["r"] = {
|
{ "<leader>r", "", desc = " Run", mode = "n" },
|
||||||
name = " Run",
|
{ "<leader>rx", "<cmd>Jaq float<CR>", desc = "Run With Jaq", mode = "n" },
|
||||||
j = { "<cmd>Jaq float<CR>", "Run With Jaq" },
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
-- https://github.com/CRAG666/code_runner.nvim
|
-- https://github.com/CRAG666/code_runner.nvim
|
||||||
|
|
|
@ -133,5 +133,6 @@ return {
|
||||||
{ "<leader>zl", "<cmd>Lazy log<cr>", desc = "Log", mode = "n" },
|
{ "<leader>zl", "<cmd>Lazy log<cr>", desc = "Log", mode = "n" },
|
||||||
{ "<leader>zd", "<cmd>Lazy debug<cr>", desc = "Debug", mode = "n" },
|
{ "<leader>zd", "<cmd>Lazy debug<cr>", desc = "Debug", mode = "n" },
|
||||||
})
|
})
|
||||||
|
which_key.add(pcode.whichkey or {})
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue