aboutsummaryrefslogtreecommitdiffstats
path: root/modules/programs/nixvim/plugins/which-key.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/programs/nixvim/plugins/which-key.nix')
-rw-r--r--modules/programs/nixvim/plugins/which-key.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/modules/programs/nixvim/plugins/which-key.nix b/modules/programs/nixvim/plugins/which-key.nix
new file mode 100644
index 0000000..18018e7
--- /dev/null
+++ b/modules/programs/nixvim/plugins/which-key.nix
@@ -0,0 +1,21 @@
+{ config, lib, ... }:
+
+# Which-key - Popup for keybindings (which-key.nvim)
+{
+ config.programs.nixvim.plugins.which-key = lib.mkIf config.programs.nixvim.enable {
+ enable = true;
+ settings = {
+ plugins = {
+ marks = true;
+ registers = true;
+ spelling = {
+ enabled = true;
+ suggestions = 20;
+ };
+ };
+ win = {
+ border = "single";
+ };
+ };
+ };
+}