diff options
| author | Ibrahim Muftee <ibrahim@muftee.net> | 2024-10-03 17:54:22 -0500 |
|---|---|---|
| committer | Ibrahim Muftee <ibrahim@muftee.net> | 2026-07-01 00:23:31 -0400 |
| commit | 7876fabd7c5c625194ee723972e63105eca4b505 (patch) | |
| tree | 8a60254fdba136242a10954bc0429747e509a46c /dot_config/nvim/lua/plugins/which-key.lua | |
| parent | 25845fce1beb28e783e7f9495a0fadf19e26bee6 (diff) | |
feat(nvim): neovim config rewrite
Diffstat (limited to 'dot_config/nvim/lua/plugins/which-key.lua')
| -rw-r--r-- | dot_config/nvim/lua/plugins/which-key.lua | 41 |
1 files changed, 2 insertions, 39 deletions
diff --git a/dot_config/nvim/lua/plugins/which-key.lua b/dot_config/nvim/lua/plugins/which-key.lua index 0cfcf14..7410159 100644 --- a/dot_config/nvim/lua/plugins/which-key.lua +++ b/dot_config/nvim/lua/plugins/which-key.lua @@ -1,41 +1,4 @@ --- which-key --- https://github.com/folke/which-key.nvim --- --- Shows a popup window with key bindings when the native vim --- timeout length has expired. --- --- I go back and forth on whether I like this plugin, but right now I --- think it's nice as an occasional referenc for stuff I don't use --- frequently. - return { - "folke/which-key.nvim", - event = "VeryLazy", - config = function() - vim.opt.timeout = true - vim.opt.timeoutlen = 1000 - local wk = require("which-key") - wk.setup({ - window = { - border = "double", - position = "bottom", - margin = { 1, 0, 1, 0 }, - padding = { 3, 2, 3, 2 }, - winblend = 20, - }, - layout = { - height = { min = 4, max = 25 }, - width = { min = 20, max = 50 }, - spacing = 8, - align = "center", - }, - }) - wk.register({ - ["<leader>"] = { - c = { name = "+code / clipboard" }, - -- d = { name = "+diagnostics" }, - s = { name = "+search" }, - }, - }) - end + "folke/which-key.nvim", + event = "VeryLazy", } |
