diff options
Diffstat (limited to 'ar/.config/TheSiahxyz/lua')
| -rw-r--r-- | ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/rest.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/rest.lua b/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/rest.lua index 3c491dd..33586d3 100644 --- a/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/rest.lua +++ b/ar/.config/TheSiahxyz/lua/TheSiahxyz/plugins/rest.lua @@ -112,6 +112,13 @@ return { _log_level = vim.log.levels.WARN, } end, + init = function() + local wk = require("which-key") + wk.add({ + mode = { "n" }, + { "<localleader>h", group = "HTTP" }, + }) + end, keys = { { "<localleader>ho", ":Rest open<CR>", desc = "Open result pane" }, { "<localleader>hr", ":Rest run<CR>", desc = "Run request under the cursor" }, |
