about summary refs log tree commit diff
path: root/users/sterni
diff options
context:
space:
mode:
Diffstat (limited to 'users/sterni')
-rw-r--r--users/sterni/emacs/default.nix1
-rw-r--r--users/sterni/emacs/init.el2
2 files changed, 3 insertions, 0 deletions
diff --git a/users/sterni/emacs/default.nix b/users/sterni/emacs/default.nix
index 54272a368b92..f84a684d4fca 100644
--- a/users/sterni/emacs/default.nix
+++ b/users/sterni/emacs/default.nix
@@ -8,6 +8,7 @@ let
     #epkgs.elpaPackages.ada-mode
     epkgs.elpaPackages.rainbow-mode
     epkgs.elpaPackages.undo-tree
+    epkgs.elpaPackages.which-key
     epkgs.melpaPackages.adoc-mode
     epkgs.melpaPackages.cmake-mode
     epkgs.melpaPackages.direnv
diff --git a/users/sterni/emacs/init.el b/users/sterni/emacs/init.el
index 64973c725404..97c722431b77 100644
--- a/users/sterni/emacs/init.el
+++ b/users/sterni/emacs/init.el
@@ -216,6 +216,8 @@
          (ielm-mode . paredit-mode)
          (lisp-interaction-mode . paredit-mode)))
 
+(use-package which-key :config (which-key-mode t))
+
 (use-package nix-mode :mode "\\.nix\\'")
 (use-package nix-drv-mode :mode "\\.drv\\'")