enc: update default config which-key

This commit is contained in:
Pojok Code 2024-07-13 13:28:39 +07:00
parent c0eb97fa96
commit 18f8a746e4
2 changed files with 3 additions and 4 deletions

View file

@ -88,10 +88,8 @@ pcode.dap_ensure_installed = {
-- https://github.com/folke/which-key.nvim
pcode.whichkey = {
-- contoh penambahan
["r"] = {
name = "  Run",
j = { "<cmd>Jaq float<CR>", "Run With Jaq" },
},
{ "<leader>r", "", desc = "  Run", mode = "n" },
{ "<leader>rx", "<cmd>Jaq float<CR>", desc = "Run With Jaq", mode = "n" },
}
-- https://github.com/CRAG666/code_runner.nvim

View file

@ -133,5 +133,6 @@ return {
{ "<leader>zl", "<cmd>Lazy log<cr>", desc = "Log", mode = "n" },
{ "<leader>zd", "<cmd>Lazy debug<cr>", desc = "Debug", mode = "n" },
})
which_key.add(pcode.whichkey or {})
end,
}