aboutsummaryrefslogtreecommitdiff
path: root/modules/home
diff options
context:
space:
mode:
authorNatasha Moongrave <natasha@256phi.eu>2026-02-12 13:47:45 +0100
committerNatasha Moongrave <natasha@256phi.eu>2026-02-12 13:47:45 +0100
commitabd9f1d30b6b49840255b7e982548913f4ffb1b6 (patch)
treee28aad715b88b6711a5c4ca08126be45a05ec463 /modules/home
parent60534d5cfc9c8510c846e4fc7346d6f2cab1a82b (diff)
switched snacks to which key in neovim
Diffstat (limited to 'modules/home')
-rw-r--r--modules/home/i3wm/nord-blue/nvim.nix16
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" },