     (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


(add-hook 'after-init-hook #'global-flycheck-mode)

(setq org-ellipsis "…")

(setq org-fontify-emphasized-text +1)

;; When exporting anything, do not insert in kill ring.
(setq org-export-copy-to-kill-ring nil)

;; Display images inline when running in GUI.
(setq org-startup-with-inline-images (display-graphic-p))

(setq org-src-tab-acts-natively t)

;; Prevent inadvertently editing invisible areas in Org.
(setq org-catch-invisible-edits 'error)

(setq org-image-actual-width t)

(setq org-hide-emphasis-markers t)

;; All Org leading stars become invisible.
(setq org-hide-leading-stars t)
