 (use-package smex
   :bind (("M-x" . smex)
          ("M-X" . smex-major-mode-commands)))
+
+(use-package which-key
+  :diminish ""
+  :config (which-key-mode 1))
 
 (use-package avy
   :bind (("C-c j" . avy-goto-word-1) ;; same as ace-jump

        org-latex-packages-alist '(("" "minted"))
        org-latex-listings 'minted
        org-confirm-babel-evaluate nil)
  (add-hook 'org-mode-hook 'turn-on-auto-fill)
  (add-hook 'org-mode-hook 'turn-on-org-cdlatex))

(use-package markdown-mode
  :mode

              ("<C-M-return>" . eval-buffer)
              ("<C-S-return>" . eval-print-last-sexp))
  :init
  (add-hook 'emacs-lisp-mode-hook #'eldoc-mode 1)
  (add-hook 'lisp-interaction-mode-hook #'eldoc-mode 1)
  (add-hook 'clojure-mode-hook #'eldoc-mode 1)
  (add-hook 'cider-repl-mode-hook #'eldoc-mode 1)
  (add-hook 'ielm-mode-hook #'eldoc-mode 1))

(use-package cider
  :ensure clojure-mode
  :init
  (add-hook 'clojure-mode-hook #'clj-refactor-mode)
  (add-hook 'clojure-mode-hook #'yas-minor-mode)
  :bind (("H-m s" . cider-scratch)
         :map cider-mode-map
         ("<C-return>" . cider-eval-last-sexp)
