 
 ;; M-. elisp navigation.
 (use-package elisp-slime-nav
-  :ensure elisp-slime-nav)
+  :ensure t)
 
 (defun ar/add-functions-to-mode-hooks (hook-functions hooks)
   "Adds HOOK-FUNCTIONS to mode HOOKS."

(global-subword-mode t)

(use-package git-timemachine
  :ensure git-timemachine)

;; Highlight git hunks.
(use-package git-gutter
  :ensure git-gutter)
(global-git-gutter-mode +1)
(git-gutter:linum-setup)
(global-set-key (kbd "C-c <up>") 'git-gutter:previous-hunk)

(global-set-key (kbd "C-o") 'prelude-smart-open-line)

(use-package ace-jump-mode
  :ensure t)
(require 'ace-jump-mode)

(use-package ace-jump-zap
  :ensure t
  :bind
  (("M-z" . ace-jump-zap-up-to-char-dwim)
   ("C-M-z" . ace-jump-zap-to-char-dwim)))

(use-package golden-ratio
  :ensure t)
(golden-ratio-mode)

(use-package auto-dim-other-buffers
  :ensure t)
(add-hook 'after-init-hook (lambda ()
                             (when (fboundp 'auto-dim-other-buffers-mode)
                               (auto-dim-other-buffers-mode t))))

(use-package key-chord
  :ensure t)
(require 'key-chord)
(key-chord-define-global "jj" 'ace-jump-char-mode)
(key-chord-define-global "jl" 'ace-jump-line-mode)
