[emacs] assimilate and enable which-key
authorAmin Bandali <amin@aminb.org>
Sun, 6 May 2018 19:49:56 +0000 (15:49 -0400)
committerAmin Bandali <amin@aminb.org>
Sun, 6 May 2018 19:49:56 +0000 (15:49 -0400)
.gitmodules
init.org
lib/which-key [new submodule]

index eaf8b58..58bb23c 100644 (file)
 [submodule "use-package"]
        path = lib/use-package
        url = git@github.com:jwiegley/use-package.git
 [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
 [submodule "with-editor"]
        path = lib/with-editor
        url = git@github.com:magit/with-editor.git
index 6be9194..181dac7 100644 (file)
--- a/init.org
+++ b/init.org
@@ -1128,6 +1128,19 @@ instead.
   :bind (:map haskell-mode-map
               ("C-c l l" . hs-lint)))
 #+end_src
   :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:
 
 * Post initialization
 :PROPERTIES:
diff --git a/lib/which-key b/lib/which-key
new file mode 160000 (submodule)
index 0000000..8a878de
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit 8a878de16db5ff83ce78f2a43d22ed2170b3abd3