From f9a6e602d8d184d0a9d5670f51bcdaefd099279e Mon Sep 17 00:00:00 2001 From: Mohammad Rafiq Date: Sun, 9 Mar 2025 21:50:24 +0800 Subject: [PATCH] feat: add which-key --- users/modules/programs/nixvim.nix | 7 ++++--- users/modules/programs/nixvim/which-key.nix | 5 +++++ 2 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 users/modules/programs/nixvim/which-key.nix diff --git a/users/modules/programs/nixvim.nix b/users/modules/programs/nixvim.nix index a06b1f6..2c1cf1f 100644 --- a/users/modules/programs/nixvim.nix +++ b/users/modules/programs/nixvim.nix @@ -1,11 +1,12 @@ { inputs, ... }: { imports = [ inputs.nixvim.homeManagerModules.nixvim - ./nixvim/nvim-tree.nix # filetree - ./nixvim/noice.nix # custom CMDLINE ./nixvim/lualine.nix # custom statusline - ./nixvim/treesitter.nix # syntax highlighting + ./nixvim/noice.nix # custom CMDLINE + ./nixvim/nvim-tree.nix # filetree ./nixvim/treesitter-context.nix # context line + ./nixvim/treesitter.nix # syntax highlighting + ./nixvim/which-key.nix # show keybind hints ]; programs.nixvim = { enable = true; diff --git a/users/modules/programs/nixvim/which-key.nix b/users/modules/programs/nixvim/which-key.nix new file mode 100644 index 0000000..3841b71 --- /dev/null +++ b/users/modules/programs/nixvim/which-key.nix @@ -0,0 +1,5 @@ +{ + programs.nixvim.plugins.which-key = { + enable = true; + }; +}