From abd9f1d30b6b49840255b7e982548913f4ffb1b6 Mon Sep 17 00:00:00 2001 From: Natasha Moongrave Date: Thu, 12 Feb 2026 13:47:45 +0100 Subject: switched snacks to which key in neovim --- modules/home/i3wm/nord-blue/nvim.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'modules/home/i3wm') diff --git a/modules/home/i3wm/nord-blue/nvim.nix b/modules/home/i3wm/nord-blue/nvim.nix index 03b7adf..6d2ae48 100644 --- a/modules/home/i3wm/nord-blue/nvim.nix +++ b/modules/home/i3wm/nord-blue/nvim.nix @@ -18,8 +18,7 @@ (nvim-treesitter.withPlugins (p: [ p.lua p.nix p.rust p.python p.bash p.latex ])) telescope-nvim plenary-nvim - snacks-nvim - + which-key-nvim { plugin = vim-startify; # Add the plugin and its coresponding config config = "let g:startify_change_to_vcs_root = 0"; @@ -33,6 +32,9 @@ vim.opt.relativenumber = true vim.opt.clipboard = "unnamedplus" + vim.o.timeout = true + vim.o.timeoutlen = 300 + -- Treesitter require("nvim-treesitter.configs").setup({ highlight = { enable = true }, @@ -54,14 +56,12 @@ }, }) - -- Snacks - require("snacks").setup({ - prefix = { "" }, -- the key to trigger Snacks popup - -- optional customizations: - window = { border = "rounded", position = "bottom" }, - spacing = { horizontal = 2, vertical = 1 }, + -- Which-key keybind show + require("which-key").setup({ + -- Optional custom config here }) + -- Register some categories (optional) require("snacks").register({ f = { name = "file" }, -- cgit v1.2.3