diff --git a/lua/teeja/lazy/which-key.lua b/lua/teeja/lazy/which-key.lua index eb0ff5d..5e5a2e3 100644 --- a/lua/teeja/lazy/which-key.lua +++ b/lua/teeja/lazy/which-key.lua @@ -8,18 +8,14 @@ return { end, config = function () local wk = require("which-key") - wk.register({ - s = { - name = "Telescope", - f = { "Telescope find_files", "Find File" }, - g = { "Telescope live_grep", "Grep File" }, - h = { "Telescope help_tags", "Help Tags" }, - }, - f = { - name = "Netrw", - c = { "Explore", "File Browser" }, - }, - }, { prefix = "" }) + wk.add({ + { "f", group = "Netrw" }, + { "fc", "Explore", desc = "File Browser" }, + { "s", group = "Telescope" }, + { "sf", "Telescope find_files", desc = "Find File" }, + { "sg", "Telescope live_grep", desc = "Grep File" }, + { "sh", "Telescope help_tags", desc = "Help Tags" }, + }) end } }