 (when (radian-package-disabled-p 'helm)
   (autoload 'dired-jump "dired-x")
   (autoload 'dired-jump-other-window "dired-x")
-  (global-set-key (kbd "C-x C-j") 'dired-jump)
-  (global-set-key (kbd "C-x 4 C-j") 'dired-jump-other-window))
+  (global-set-key (kbd "C-x C-j") #'dired-jump)
+  (global-set-key (kbd "C-x 4 C-j") #'dired-jump-other-window))
 
 ;; Suppress the 'ls does not support --dired' warning. Doing this instead
 ;; of installing a dired-compatibile ls is much easier, although it may

;;
;; [1]: http://ergoemacs.org/emacs/elisp_defvar_problem.html

(defvar radian-dotfiles nil
  "Association list from a keybinding suffix to be used after
M-RET to the file opened by the resulting keybinding.")
(setq radian-dotfiles
      '(("e i"   ".emacs.d/init.el")
        ("e b"   ".emacs.d/init.before.local.el")
        ("e p r" ".emacs.d/init.pre.local.el")
        ("e p o" ".emacs.d/init.post.local.el")
        ("e l"   ".emacs.d/init.local.el")
        ("g c"   ".gitconfig")
        ("g e"   ".gitexclude")
        ("g l"   ".gitconfig.local")
        ("l p"   ".lein/profiles.clj")
        ("t c"   ".tmux.conf")
        ("t l"   ".tmux.local.conf")
        ("z r"   ".zshrc")
        ("z a"   ".zshrc.antigen.local")
        ("z b"   ".zshrc.before.local")
        ("z l"   ".zshrc.local")))

(dolist (item radian-dotfiles)
  (global-set-key (kbd (concat "M-RET " (car item)))
                  `(lambda ()
                     ,(concat "Open ~/" (cadr item) " in the current buffer.")
                     (interactive)
                     (find-file ,(concat "~/" (cadr item))))))

(when (equal radian-customize-completion-mechanism 'helm-ido)
  ;; Use IDO ("interactive do") for C-x C-f and other file-finding


  (xterm-mouse-mode t)

  (defun radian-scroll-down ()
    "Scroll down one line."
    (interactive)
    (scroll-down 1))

  (defun radian-scroll-up ()
    "Scroll up one line."
    (interactive)
    (scroll-up 1))

  (global-set-key (kbd "<mouse-4>") #'radian-scroll-down)
  (global-set-key (kbd "<mouse-5>") #'radian-scroll-up))

;;; Clipboard
;; Based on https://gist.github.com/the-kenny/267162
