Commit b15df59119e4

Vincent Demeester <vincent@sbr.pm>
2016-04-20 22:19:21
Use which-key instead of guide-key
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 6c75ac4
Changed files (1)
.emacs.d
.emacs.d/emacs.org
@@ -1258,23 +1258,16 @@
             (setq undo-tree-history-directory-alist (list (cons "." undo-dir))))))
     #+END_SRC
 
-*** Guide-key
+*** Which-key
 
-    =guide-key.el= displays the available key bindings automatically and dynamically.
+    =which-key.el= displays the available key bindings automatically and dynamically.
 
     #+BEGIN_SRC emacs-lisp
-      (use-package guide-key
+      (use-package which-key
         :ensure t
         :config
         (progn
-          (setq guide-key/guide-key-sequence t)
-          (setq guide-key/text-scale-amount 1)
-          (setq guide-key/popup-window-position 'bottom)
-          (guide-key-mode 1)
-          (defun guide-key/my-hook-function-for-org-mode ()
-            ;; (guide-key/add-local-guide-key-sequence "C-c")
-            (guide-key/add-local-highlight-command-regexp "org-"))
-          (add-hook 'org-mode-hook 'guide-key/my-hook-function-for-org-mode)))
+          (which-key-mode 1)))
     #+END_SRC
 
 ** Server mode
@@ -3111,7 +3104,7 @@
          (compilation-minor-mode     . "🚨")
          (compilation-mode           . "🚨")
          (company-mode               . "")
-         (guide-key-mode             . "")
+         (which-key-mode             . "")
          ;; Major modes
          (term-mode                  . "⌨")
          (clojure-mode               . " Ɩ")