     (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."


(use-package helm
  :config
  (use-package helm-ag :ensure t)
  (use-package helm-buffers
    :config

  :config
  (setq magit-status-buffer-switch-function #'switch-to-buffer)
  (fullframe magit-status magit-mode-quit-window)
  (magit-auto-revert-mode)
  :bind ("C-x g" . magit-status))

;; Use vc-ediff as default.
