Browse Source

[WHICH-KEY] Add search for key-maps and commands. (#862)

James Walmsley 4 years ago
parent
commit
38d118d9b2
1 changed files with 2 additions and 0 deletions
  1. 2 0
      lua/lv-which-key/config.lua

+ 2 - 0
lua/lv-which-key/config.lua

@@ -139,6 +139,8 @@ O.plugin.which_key = {
       r = { "<cmd>Telescope oldfiles<cr>", "Open Recent File" },
       R = { "<cmd>Telescope registers<cr>", "Registers" },
       t = { "<cmd>Telescope live_grep<cr>", "Text" },
+      k = { "<cmd>Telescope keymaps<cr>", "Keymaps" },
+      C = { "<cmd>Telescope commands<cr>", "Commands" },
     },
     T = {
       name = "Treesitter",