             (if fci-state-orig
                 (fci-mode 'toggle))))))))
 
+;; http://emacs.stackexchange.com/a/4272/115
+(defun modi/forward-word-begin (arg)
+  "Move forward ARG (defaults to 1) number of words.
+Here 'words' are defined as characters separated by whitespace."
+  (interactive "p")
+  (dotimes (_ arg)
+    (forward-whitespace 1)))
+
+(defun modi/backward-word-end (arg)
+  "Move back ARG (defaults to 1) number of words.
+Here 'words' are defined as characters separated by whitespace."
+  (interactive "p")
+  (dotimes (_ arg)
+    (forward-whitespace -1)))
+
 (bind-keys
  ;; Bind in `global-map' to allow the `term-mode-map' to override the `C-a' binding
  ("C-a" . modi/beginning-of-line-or-indentation) ; default binding for `move-beginning-of-line'

  "Faster `C-b'"
  (interactive)
  (ignore-errors (backward-char 5)))

(defun forward-word-fast ()
  "Faster `M-f'"
  (interactive)
  (ignore-errors (forward-word 5)))

(defun backward-word-fast ()
  "Faster `M-b'"
  (interactive)
  (ignore-errors (backward-word 5)))

(use-package ffap
  :defer t

        ffap-string-at-point))
    (advice-add 'ffap-string-at-point :override #'modi/ffap-string-at-point)))

;; https://github.com/abo-abo/hydra/blob/master/hydra-examples.el
;; A three-headed hydra for jumping between "errors", useful for
;; e.g. `occur', `rgrep' and the like.
