   :config (fullframe ibuffer ibuffer-quit))
 
 (use-package dired
-  :config (fullframe dired quit-window))
+  :config
+  (fullframe dired quit-window)
+  ;; Try to guess the target directory for operations.
+  (setq dired-dwim-target t))
 
 ;; Enhanced list-packages replacement.
 (use-package paradox :ensure t

(use-package hungry-delete :ensure t)
(global-hungry-delete-mode)
(global-font-lock-mode)

(global-auto-revert-mode)

;; Auto refresh dired.

      _b_lock"
  ("l" ar/buffer-sort-lines-ignore-case nil)
  ("o" org-sort-list nil)
  ("b" ar/buffer-sort-current-block nil)
  ("q" nil nil :color blue))
(bind-key "M-s" #'hydra-sort/body)

