about summary refs log tree commit diff
path: root/users/sterni/emacs
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2022-05-25T07·24+0200
committersterni <sternenseemann@systemli.org>2022-05-25T18·30+0000
commit98dbd715fadc89b8445406b956d717466d5175b6 (patch)
tree1883bb7a0db959bd59b3e58bee8fb9fa54666e91 /users/sterni/emacs
parent03d198631645ba3013e6e16bdf26a327cd51ccf7 (diff)
feat(sterni/emacs): enable which-key mode r/4113
Change-Id: Ibfb1b729ad8dc1de72e4da5833077ea4cd764638
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5668
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'users/sterni/emacs')
-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\\'")