           (setq dired-open-use-nohup nil))
   :config (add-to-list 'dired-open-functions
                        #'dired-open-guess-shell-alist))
+
+(use-package dired-recent
+  :ensure t
+  :init (setq dired-recent-max-directories nil)
+  :commands (dired-recent-mode
+             dired-recent-open))
 
 (use-package gnus-dired
   :commands (turn-on-gnus-dired-mode))

                (require 'dired-open)
                (bind-key "M-RET" #'dired-open-xdg dired-mode-map)))

            ;; Gnus support in dired
            (add-hook 'dired-mode-hook 'turn-on-gnus-dired-mode)


  (bind-key [remap fill-paragraph] #'endless/fill-or-unfill)
  (unbind-key "C-x C-c" global-map)
  (bind-key [remap keyboard-quit] #'keyboard-quit-context+)
  (bind-key "C-z" #'dired-recent-open)

  ;; Custom helm bindings

