diff options
Diffstat (limited to 'modules/home')
| -rw-r--r-- | modules/home/i3wm/nord-blue/nvim.nix | 16 |
1 files changed, 8 insertions, 8 deletions
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 = { "<leader>" }, -- 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" }, |
