From 98dbd715fadc89b8445406b956d717466d5175b6 Mon Sep 17 00:00:00 2001 From: sterni Date: Wed, 25 May 2022 09:24:46 +0200 Subject: feat(sterni/emacs): enable which-key mode Change-Id: Ibfb1b729ad8dc1de72e4da5833077ea4cd764638 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5668 Tested-by: BuildkiteCI Reviewed-by: sterni --- users/sterni/emacs/default.nix | 1 + users/sterni/emacs/init.el | 2 ++ 2 files changed, 3 insertions(+) (limited to 'users/sterni') 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\\'") -- cgit 1.4.1