Skip to content

Commit 39ee177

Browse files
committed
Add which-key nvim plugin
1 parent 452c47b commit 39ee177

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

nvim/.config/nvim/init.lua

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,19 @@ require("lazy").setup({
3838
},
3939
},
4040
{ "nvim-telescope/telescope.nvim", tag = "0.1.8", dependencies = { "nvim-lua/plenary.nvim" } },
41+
{
42+
"folke/which-key.nvim",
43+
event = "VeryLazy",
44+
keys = {
45+
{
46+
"<leader>?",
47+
function()
48+
require("which-key").show({ global = false })
49+
end,
50+
desc = "Buffer Local Keymaps (which-key)",
51+
},
52+
},
53+
},
4154
})
4255

4356
-------------------

nvim/.config/nvim/lazy-lock.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@
99
"nvim-treesitter": { "branch": "master", "commit": "f2bd62c6568de54ca1b8fb0a8de04a41442934cb" },
1010
"nvim-web-devicons": { "branch": "master", "commit": "1020869742ecb191f260818234517f4a1515cfe8" },
1111
"plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" },
12-
"telescope.nvim": { "branch": "master", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" }
12+
"telescope.nvim": { "branch": "master", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" },
13+
"which-key.nvim": { "branch": "main", "commit": "370ec46f710e058c9c1646273e6b225acf47cbed" }
1314
}

0 commit comments

Comments
 (0)