 (use-package hl-line)
 
 (use-package nyan-mode
+  :ensure t
   :init
   (nyan-mode t))
 

    `(load-after ,package-name
       '(defadvice ,mode (after diminish-major-mode activate)
	  (setq mode-name ,new-name))))
  (diminish-minor-mode 'abbrev               'abbrev-mode)
  (diminish-minor-mode 'company              'company-mode       "↝")
  (diminish-minor-mode 'auto-revert-mode     'auto-revert-mode)
  (diminish-minor-mode 'eldoc                'eldoc-mode)
  (diminish-minor-mode 'fic-mode             'fic-mode)
  (diminish-minor-mode 'haskell-doc          'haskell-doc-mode)
  (diminish-minor-mode 'hs-minor-mode        'hs-minor-mode)
  (diminish-minor-mode 'leerzeichen          'leerzeichen-mode)
  (diminish-minor-mode 'magit                'magit-auto-revert-mode)
  (diminish-minor-mode 'smartparens          'smartparens-mode)
  (diminish-minor-mode 'undo-tree            'undo-tree-mode     "↺")
  (diminish-minor-mode 'visual-line-mode     'visual-line-mode)
  (diminish-minor-mode 'volatile-highlights  'volatile-highlights-mode)
  (diminish-minor-mode 'whole-line-or-region 'whole-line-or-region-mode)
  (diminish-minor-mode 'yasnippet            'yas-minor-mode)

  (diminish-major-mode	'lisp-mode    	emacs-lisp-mode	"EL" 	)
  (diminish-major-mode	'sh-script    	sh-mode        	"sh" 	)


;; undo highlighting
;; highlight changes made by undo
(use-package volatile-highlights
  :ensure t
  :diminish volatile-highlights-mode
  :config
  (volatile-highlights-mode t))

;; show keystrokes in progress
(setq echo-keystrokes 0.1)

