                       racket-mode
                       processing-mode
                       csharp-mode
+                      diminish
                       glsl-mode))
 
 (dolist (p df/packages)
   (when (not (package-installed-p p))
     (package-install p)))
+
+(require 'diminish)
+(after 'anzu (diminish 'anzu-mode))
+(after 'undo-tree (diminish 'undo-tree-mode " ψ"))
+(after 'rainbow-mode (diminish 'rainbow-mode))
+(after 'abbrev (diminish 'abbrev-mode))
+(after 'whitespace (diminish 'whitespace-mode " ⌴"))
+
+(require 'whitespace)
+(setq whitespace-line-column 100)             ;; limit line length
+(setq whitespace-style '(face trailing newline))
+(add-hook 'prog-mode-hook 'whitespace-mode)
 
 (elpy-enable)
 (when (or (equal system-type 'darwin) (kelly?))

(iswitchb-mode t)   ;; substring buffer switch
(setq-default indent-tabs-mode nil)
(setq-default tab-width 4)
(winner-mode t)   ;; C-c <left|right>
(set-language-environment "czech")
(setq default-input-method "czech-qwerty")

;;                       :inherit nil
;;                       :background "#EAEAEA"
;;                       :foreground "#3f525b"))   ;; (color-darken-name "#546E7A" 10)))))

;(setq-default line-spacing nil)
(global-auto-revert-mode 1)
