   (kbd "g <return>") #'delete-blank-lines
   "g " #'just-one-space
   "g'" #'pjones:switch-to-previous-buffer
-  "gl" #'evil-avy-goto-line
+  "gm" #'counsel-imenu
   "gs" #'pjones:evil-sort
   "gS" #'evil-surround-edit
   "z'" #'evil-window-mru

(evil-define-key 'motion global-map
  "^" #'pjones:evil-first-non-blank
  "[e" #'previous-error
  "]e" #'next-error)

(dolist (state '(normal visual motion))
  (evil-define-key state global-map

  "g f" #'rg
  "g g" #'rg-project
  "g h" #'pjones:start-http
  "g i" #'pjones:start-irc
  "g m" #'magit-status
  "g o a" #'pjones:agenda
  "g o c" #'org-capture
