 
 ;; evil-leader modes specific =================================================
 
-;; erlang ---------------------------------------------------------------------
-(evil-leader/set-key-for-mode 'erlang-mode
-  "mc" 'edts-who-calls
-  "md" 'edts-find-doc
-  "me" 'edts-code-next-issue
-  "mG" 'edts-find-global-function
-  "mg" 'edts-find-source-under-point
-  "mh" 'edts-find-header-source
-  "ml" 'edts-find-local-function
-  "mm" 'edts-find-macro-source
-  "mr" 'edts-find-record-source
-  "mx" 'edts-refactor-extract-function)
 ;; Lisps ----------------------------------------------------------------------
 (evil-leader/set-key-for-mode 'emacs-lisp-mode
   "mB"  'sp-backward-barf-sexp

    (define-key helm-map (kbd "C-l") 'helm-previous-source)))
;; quick navigation -----------------------------------------------------------
(define-key evil-normal-state-map (kbd "L")
  (lambda () (interactive) (evil-window-bottom) (evil-scroll-line-to-center nil)))
(define-key evil-normal-state-map (kbd "H")
  (lambda () (interactive) (evil-window-top) (evil-scroll-line-to-center nil)))

;; evil-leader shortcuts ======================================================


  "ms"  'sp-forward-slurp-sexp
  "mta"  (lambda () (interactive) (ert t))
  "mtf" 'ert)
;; erlang ---------------------------------------------------------------------
(evil-leader/set-key-for-mode 'erlang-mode
  "mc" 'edts-who-calls
  "md" 'edts-find-doc
  "me" 'edts-code-next-issue
  "mG" 'edts-find-global-function
  "mg" 'edts-find-source-under-point
  "mh" 'edts-find-header-source
  "ml" 'edts-find-local-function
  "mm" 'edts-find-macro-source
  "mr" 'edts-find-record-source
  "mx" 'edts-refactor-extract-function)
;; magit ----------------------------------------------------------------------
(evil-add-hjkl-bindings magit-branch-manager-mode-map 'emacs
  "K" 'magit-discard-item
