From 8f9c77878f8742a47d34a50748023d1b552cfbf1 Mon Sep 17 00:00:00 2001 From: mirenn Date: Mon, 21 Sep 2026 23:09:33 +0200 Subject: guix primer --- .../.config/nvim/lua/plugins/which-key.lua | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 mirenn/home/files/dotfiles/.config/nvim/lua/plugins/which-key.lua (limited to 'mirenn/home/files/dotfiles/.config/nvim/lua/plugins/which-key.lua') diff --git a/mirenn/home/files/dotfiles/.config/nvim/lua/plugins/which-key.lua b/mirenn/home/files/dotfiles/.config/nvim/lua/plugins/which-key.lua new file mode 100644 index 0000000..4e391f9 --- /dev/null +++ b/mirenn/home/files/dotfiles/.config/nvim/lua/plugins/which-key.lua @@ -0,0 +1,25 @@ +local config = function() + require("which-key").setup() + vim.o.timeout = true + vim.o.timeoutlen = 500 +end + +return { + "folke/which-key.nvim", + lazy = true, + event = "VeryLazy", + config = config, + keys = { + { + "?", + function() + require("which-key").show({ global = false }) + end, + desc = "Buffer Local Keymaps (which-key)", + }, + }, + dependencies = { + "echasnovski/mini.icons", + "nvim-tree/nvim-web-devicons", -- optional + }, +} -- cgit v1.2.3