 (use-package dash  :ensure t  :defer t)
 (use-package f  :ensure t  :defer t)
 (use-package s  :ensure t  :defer t)
-(use-package diminish  :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)
+;;  :diminish ggtags-mode
+  )
 
 (use-package projectile
   :ensure t
-  :diminish projectile-mode
+;;  :diminish projectile-mode
   :commands projectile-global-mode
   :defer 5
   :bind-keymap ("C-c p" . projectile-command-map)


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

  :commands browse-kill-ring)

(use-package project-persist  :ensure t  :defer t
  :init (project-persist-mode t)
  :config    (projectile-global-mode t))

(use-package multiple-cursors
  :ensure t
  :bind 
  (("C->" . mc/mark-next-like-this)
   ("C-<" . mc/mark-previous-like-this)
   ("C-*" . mc/mark-all-like-this)))

(use-package company
  :ensure t
  :bind ("C-." . company-complete)
  :init
  (global-company-mode 1)
  :config
  (bind-keys :map company-active-map
             ("C-n" . company-select-next)
             ("C-p" . company-select-previous)
             ("C-d" . company-show-doc-buffer)
             ("<tab>" . company-complete)))

;; (use-package company  :ensure t  
;;   :commands company-mode
;;   :config
;;   (add-hook 'after-init-hook 'global-company-mode))

(use-package yasnippet :ensure t)
(use-package auto-complete :ensure t)
