   :bind ("C-c w" . er/expand-region))
 
 (use-package recentf
+  :init
+  (recentf-mode)
   :config
   (setq recentf-max-saved-items 200
         recentf-max-menu-items 15))
-(recentf-mode)
 
 (use-package yasnippet :ensure t)
 (setq yas-snippet-dirs

    (term-send-string
     proc
     (concat "cd ~/Downloads && youtube-dl " url "\n"))))

;; Try to guess the target directory for operations.
(setq dired-dwim-target t)

(defun ar/view-clipboard-buffer ()
  "View clipboard buffer."

                                          (org-show-subtree)))))


(use-package cl
  :commands (cl-flet))
;; Ignore running processes when closing Emacs
;; From http://oremacs.com/2015/01/04/dired-nohup
(defadvice save-buffers-kill-emacs
    (around no-query-kill-emacs activate)
  "Prevent \"Active processes exist\" query on exit."
  (cl-flet ((process-list ())) ad-do-it))

(defun ar/build-org-link ()
  "Build an org link, prompting for url and description."
