 
 (use-package guide-key
   :ensure t
-  :defer t
   :config  
   (setq guide-key/guide-key-sequence t)
   (guide-key-mode 1))

(use-package switch-window  :ensure t  :defer t
  :bind ("C-x o" . switch-window))

(use-package clojure-mode  :ensure t  :defer t
  :mode      ("\\.\\(clj\\|cljs\\)$" . clojure-mode)
  :init      (defun rename-clojure-modeline ()
               (interactive)
               (setq mode-name "CLJ"))
  :config    (add-hook 'clojure-mode-hook 'rename-clojure-modeline))

(use-package cider  :ensure t  :defer t
  :init  (setq cider-words-of-inspiration '("NREPL is ready!!"))
  :config    (defalias 'cji 'cider-jack-in)
  :init      (add-hook 'cider-mode-hook 'cider-turn-on-eldoc-mode)
  :diminish  (cider-mode . ""))

(use-package clj-refactor  :ensure t  :defer t)


(use-package dash  :ensure t  :defer t)
(use-package f  :ensure t  :defer t)
(use-package s  :ensure t  :defer t)
(use-package bug-hunter  :ensure t  :defer t)
(use-package visual-regexp  :ensure t  :defer t)
(use-package puppet-mode  :ensure t  :defer t)

(use-package diminish
  :ensure t
  :init
  (defmacro rename-modeline (package-name mode new-name)
    `(eval-after-load ,package-name
       '(defadvice ,mode (after rename-modeline activate)
          (setq mode-name ,new-name))))
  (diminish 'isearch-mode))

(use-package golden-ratio
  :ensure t
  :defer t
  :diminish golden-ratio-mode
  :init
  (golden-ratio-mode 1)
  (setq golden-ratio-auto-scale t)
  (setq golden-ratio-exclude-modes '("ediff-mode"
                                   "eshell-mode"
                                   "dired-mode"
                                   "helm-mode-find-file"))
  (setq golden-ratio-exclude-buffer-names '(" *guide-key*"
                                            "*helm-mini*"
                                            "*helm-buffers*"
                                            "*helm-mode-find-files*")))

(use-package ggtags :ensure t  :defer t
  :commands ggtags-mode
;;  :diminish ggtags-mode
  )

(use-package projectile
  :ensure t
;;  :diminish projectile-mode
  :commands projectile-global-mode
  :defer 5
  :bind-keymap ("C-c p" . projectile-command-map)
