    ("<f3>"      . helm-for-files)
    ("<f4> a"    . helm-apropos)
    ("<f4> b"    . helm-all-mark-rings)
-   ("<f4> d"    . dired-jump)
    ("<f4> f"    . helm-grep-do-git-grep)
    ("<f4> i"    . helm-info-at-point)
    ("<f4> k"    . helm-show-kill-ring)

  :bind
  (("<f5> r" . ruler-mode)))

(use-package flyspell
  :commands ( flyspell-prog-mode flyspell-mode )
  :init

    (evil-set-initial-state 'magit-branch-manager-mode 'emacs)
    (evil-set-initial-state 'flycheck-error-list-mode 'emacs)
    (evil-set-initial-state 'rtags-mode 'emacs)
    (evil-set-initial-state 'dired-mode 'emacs)
    (evil-set-initial-state 'image-mode 'emacs)
    (evil-set-initial-state 'image-dired-thumbnail-mode 'emacs)
    ;; note evil-set-initial-state didn't work for these modes
    ;; I'm not sure why...
    (add-hook 'with-editor-mode-hook #'evil-insert-state)
