Upon working on org agenda, it's super convenient to employ (org-agenda-follow-mode)

The Org Manual: Agenda Commands

It display the original contents on other window instantly while scrolling around the agenda.

F (org-agenda-follow-mode)
Toggle Follow mode. In Follow mode, as you move point through the agenda buffer, the other window always shows the corresponding location in the Org file. The initial setting for this mode in new agenda buffers can be set with the variable org-agenda-start-with-follow-mode.

When it comes to Dired Dired - GNU Emacs Manual

You have to invoke C-o to achieve the same result.

Is it possible to enable follow-mode in Dired?

1 Answer 1


AFAICS this feature has not yet been realized.

For a start you can use this little minor mode.

(define-minor-mode dired-follow-mode
  "Diplay file at point in dired after a move."
  :lighter " dired-f"
  :global t
  (if dired-follow-mode
      (advice-add 'dired-next-line :after (lambda (arg) (dired-display-file)))
    (advice-remove 'dired-next-line (lambda (arg) (dired-display-file)))))

Note that there is also a follow-mode in Emacs with a different meaning.

  • 1
    this is super to view images. many thanks.
    – Wizard
    Commented Nov 18, 2019 at 13:48
  • 1
    Possibly interesting in this context: image-dired. M-x image-dired in a dired buffer produces thumbnails and allows navigation and display to the previous/next image with SPC/DEL from the thumbnail buffer and much more.
    – Marco Wahl
    Commented Nov 20, 2019 at 13:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.