 
 
 (use-package keyfreq
+  :ensure t
   :config
   (keyfreq-mode 1)
   (setq keyfreq-file (emacs-d "cache/keyfreq"))

(use-package electric
  :config
  (electric-indent-mode 1))
(defadvice electric-indent-post-self-insert-function (around keep-trailing-whitespace activate)
  (noflet ((delete-horizontal-space (&rest args) t))
    ad-do-it))


;; also indent when yanked
(defun yank-and-indent ()


;; handle camelcase better
(global-subword-mode 1)

;; fast navigation
(use-package imenu
