 (require 'cipher/aes)
 (setq yagist-encrypt-risky-config t)
 
+;; cleanup whitepace on save
+(add-hook 'before-save-hook 'whitespace-cleanup)
+
 ;; diminish
 (require 'diminish)
 (diminish 'highlight-parentheses-mode)
 (diminish 'fic-mode)
-(diminish 'auto-complete-mode "AC")
-(diminish 'undo-tree-mode)
+(diminish 'auto-complete-mode "↝")
+(diminish 'undo-tree-mode "↺")
 (diminish 'visual-line-mode)
 (diminish 'volatile-highlights-mode)
 (diminish 'whole-line-or-region-mode)

;; mutt
;; mail support.
(setq auto-mode-alist (append '(("/tmp/mutt.*" . mail-mode)) auto-mode-alist))
(add-hook 'mail-mode-hook (lambda () (setq fill-column 72)))

;; Some saner clipboard
(setq x-select-enable-clipboard t
      x-select-enable-primary t

(setq default-abbrev-mode t)

;; auto completion
(require 'fuzzy)
(require 'auto-complete-config)
(add-to-list 'ac-dictionary-directories "~/.emacs.d/ac-dict")
(ac-config-default)
