   :config
   (progn
     (setq linum-relative-current-symbol ""))
-  :init
-  (evil-leader/set-key
-    "ll" 'linum-relative-toggle))
+  :bind (:map rock-leader
+              ("ll" . linum-relative-toggle)))
 
 (use-package magit
   :config
   (use-package evil-magit)
   :init
-  (evil-leader/set-key
-    "mm" 'magit-status))
+  :bind (:map rock-leader
+              ("mm" . magit-status)))
 
 (use-package rainbow-delimiters
   :config (add-hook 'prog-mode-hook 'rainbow-delimiters-mode))

(use-package dired-x
  :ensure nil
  :config
  (put 'dired-find-alternate-file 'disabled nil))
  :init
  (evil-leader/set-key
    "dd" 'dired-jump)

(use-package swiper
  :bind ("C-s" . swiper))

  :commands alchemist-mode
  :config
  (setq alchemist-iex-program-name "~/.asdf/shims/iex")
  :bind (:map rock-leader
              ("att" . alchemist-mix-test)
              ("atb" . alchemist-mix-test-this-buffer)
              ("atp" . alchemist-mix-test-at-point)
              ("atr" . alchemist-mix-rerun-last-test)
              ("ats" . alchemist-mix-test-stale)
              ("agt" . alchemist-project-toggle-file-and-tests)
              ("agd" . alchemist-goto-definition-at-point)
              ("agg" . alchemist-goto-jump-back)
              ("amm" . alchemist-mix)
              ("amc" . alchemist-mix-compile)
              ("amr" . alchemist-mix-run)
              ("aii" . alchemist-iex-project-run)
              ("ail" . alchemist-iex-send-current-line)
              ("ais" . alchemist-iex-send-region)))

(use-package markdown-mode)

