From c7d474425ce9265f234d773c08865e1ff0d898ea Mon Sep 17 00:00:00 2001 From: Maciej Szlosarczyk Date: Fri, 31 Jul 2020 10:45:34 +0300 Subject: [PATCH] add which-key --- 01mac.el | 7 +++++++ init.el | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/01mac.el b/01mac.el index 131561a..7b6b390 100644 --- a/01mac.el +++ b/01mac.el @@ -203,5 +203,12 @@ (keyfreq-mode t) (keyfreq-autosave-mode t) +;;;;;;;;;;;;;;;;; Show hints about key combinations +(use-package which-key + :defer t + :ensure t) + +(which-key-mode t) + (provide '01mac) ;;; 01mac.el ends here diff --git a/init.el b/init.el index 789f141..f257362 100644 --- a/init.el +++ b/init.el @@ -57,7 +57,7 @@ ;; If there is more than one, they won't work right. '(package-selected-packages (quote - (erlang gitignore-mode yaml-mode nginx-mode ansible terraform-mode dockerfile-mode reason-mode merlin tuareg clj-refactor cider clojure-mode elixir-mode js2-mode web-mode enh-ruby-mode ruby-end rspec-mode planet-theme flatui-theme base16-theme smart-mode-line lsp-ui lsp-mode deft counsel-projectile flycheck company yasnippet-snippets yasnippet visual-regexp column-enforce-mode dash-at-point rainbow-mode rainbow-delimiters magit hydra counsel keyfreq exec-path-from-shell buffer-move use-package)))) + (which-key erlang gitignore-mode yaml-mode nginx-mode ansible terraform-mode dockerfile-mode reason-mode merlin tuareg clj-refactor cider clojure-mode elixir-mode js2-mode web-mode enh-ruby-mode ruby-end rspec-mode planet-theme flatui-theme base16-theme smart-mode-line lsp-ui lsp-mode deft counsel-projectile flycheck company yasnippet-snippets yasnippet visual-regexp column-enforce-mode dash-at-point rainbow-mode rainbow-delimiters magit hydra counsel keyfreq exec-path-from-shell buffer-move use-package)))) ;; Improve font settings in Markdown code (custom-set-faces