3

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

4

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
  • 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. Commented Nov 20, 2019 at 13:59

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.