From 30ba1656b497284fa4c0e159fdc56f295eb873da Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Sun, 16 Apr 2023 14:00:54 +0200 Subject: [PATCH] Feat(plugin): add which-key.nvim --- nvim/.config/nvim/lua/plugins.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/nvim/.config/nvim/lua/plugins.lua b/nvim/.config/nvim/lua/plugins.lua index ccb479e..5f23f94 100644 --- a/nvim/.config/nvim/lua/plugins.lua +++ b/nvim/.config/nvim/lua/plugins.lua @@ -164,6 +164,18 @@ return packer.startup(function(use) -- }, -- config = [[require('config.telekasten')]] -- } + use { + "folke/which-key.nvim", + config = function() + vim.o.timeout = true + vim.o.timeoutlen = 300 + require("which-key").setup { + -- your configuration comes here + -- or leave it empty to use the default settings + -- refer to the configuration section below + } + end + } if PACKER_BOOTSTRAP then require("packer").sync()