diff options
| author | pablu <me@pablu.de> | 2026-06-19 00:37:46 +0200 |
|---|---|---|
| committer | pablu <me@pablu.de> | 2026-06-19 00:37:46 +0200 |
| commit | 04d720f6c84d52445a0808fffae553b37408a4a2 (patch) | |
| tree | ab547ec14045b7d647f8ce03a718f3e6ee30764e /dot_config/nvim/lua/plugins/which-key.lua | |
| parent | 9d0e106178a14651f5290dd742761167c353631e (diff) | |
only smart-nav on gentoo, and not on other systems, same with tmux navigation
Diffstat (limited to 'dot_config/nvim/lua/plugins/which-key.lua')
| -rw-r--r-- | dot_config/nvim/lua/plugins/which-key.lua | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/dot_config/nvim/lua/plugins/which-key.lua b/dot_config/nvim/lua/plugins/which-key.lua index 62125fe..7db392f 100644 --- a/dot_config/nvim/lua/plugins/which-key.lua +++ b/dot_config/nvim/lua/plugins/which-key.lua @@ -1,11 +1,7 @@ return { "folke/which-key.nvim", event = "VeryLazy", - opts = { - -- your configuration comes here - -- or leave it empty to use the default settings - -- refer to the configuration section below - }, + opts = {}, keys = { { "<leader>?", @@ -15,8 +11,9 @@ return { desc = "Buffer Local Keymaps (which-key)", }, }, - config = function() + config = function(_, opts) local wk = require("which-key") + wk.setup(opts) wk.add({ { "<leader>d", group = "Debug" }, { "<leader>f", group = "Telescope" }, |
