From 0deee78815aa4815a091eee335e6358df545a333 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sun, 6 May 2018 15:49:56 -0400 Subject: [PATCH 1/1] [emacs] assimilate and enable which-key --- .gitmodules | 3 +++ init.org | 13 +++++++++++++ lib/which-key | 1 + 3 files changed, 17 insertions(+) create mode 160000 lib/which-key diff --git a/.gitmodules b/.gitmodules index eaf8b58..58bb23c 100644 --- a/.gitmodules +++ b/.gitmodules @@ -108,6 +108,9 @@ [submodule "use-package"] path = lib/use-package url = git@github.com:jwiegley/use-package.git +[submodule "which-key"] + path = lib/which-key + url = git@github.com:justbur/emacs-which-key.git [submodule "with-editor"] path = lib/with-editor url = git@github.com:magit/with-editor.git diff --git a/init.org b/init.org index 6be9194..181dac7 100644 --- a/init.org +++ b/init.org @@ -1128,6 +1128,19 @@ instead. :bind (:map haskell-mode-map ("C-c l l" . hs-lint))) #+end_src +* Emacs Enhancements + +** [[https://github.com/justbur/emacs-which-key][which-key]] + +#+begin_quote +Emacs package that displays available keybindings in popup +#+end_quote + +#+begin_src emacs-lisp +(use-package which-key + :defer 1 + :config (which-key-mode)) +#+end_src * Post initialization :PROPERTIES: diff --git a/lib/which-key b/lib/which-key new file mode 160000 index 0000000..8a878de --- /dev/null +++ b/lib/which-key @@ -0,0 +1 @@ +Subproject commit 8a878de16db5ff83ce78f2a43d22ed2170b3abd3 -- 2.20.1