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

  (centered-cursor-mode)
  ;; Language-aware editing commands. Useful for imenu-menu.
  (semantic-mode 1)
  (yas-minor-mode))

(defun ar/markdown-mode-hook-function ()


(use-package flyspell :commands (flyspell-mode-on))

(use-package fill-column-indicator :ensure t
  :commands (turn-on-fci-mode)

;; I prefer sentences to end with one space instead.
(setq sentence-end-double-space nil)

(defun ar/org-mode-hook-function ()
  "Called when entering org mode."
  (add-hook 'after-change-functions
