From e5c8f244466ff4da4b12c1bbfd2292a8408ff1d2 Mon Sep 17 00:00:00 2001 From: Sam Nystrom Date: Wed, 5 Jul 2023 21:26:02 -0400 Subject: Add Neovim config --- .config/nvim/lua/plugins/which-key.lua | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .config/nvim/lua/plugins/which-key.lua (limited to '.config/nvim/lua/plugins/which-key.lua') diff --git a/.config/nvim/lua/plugins/which-key.lua b/.config/nvim/lua/plugins/which-key.lua new file mode 100644 index 0000000..104d728 --- /dev/null +++ b/.config/nvim/lua/plugins/which-key.lua @@ -0,0 +1,16 @@ +return { + "folke/which-key.nvim", + event = "VeryLazy", + config = function() + require("which-key").register({ + ["t"] = { + name = "+test", + w = { name = "+watch" }, + }, + ["f"] = { name = "+Telescope" }, + ["d"] = { name = "+debug" }, + ["s"] = { name = "+Spectre" }, + ["x"] = { name = "+Trouble" }, + }) + end, +} -- cgit v1.2.3