8

Is it possible to mark all unread messages as read with a single key? r marks only the selected message as read.

Boccaperta-IT
  • 1,556
  • 11
  • 24

1 Answers1

14

You can select the whole buffer and mark everything as read using the r default binding in elfeed-search-mode-map.

You can also write a little function like below:

(defun elfeed-mark-all-as-read ()
      (interactive)
      (mark-whole-buffer)
      (elfeed-search-untag-all-unread))

and bind that to R in elfeed-search-mode-map if you wish.

(define-key elfeed-search-mode-map (kbd "R") 'elfeed-mark-all-as-read)

Note that at the time of writing this, this mapping was unused in elfeed-search-mode-map.

Kaushal Modi
  • 25,203
  • 3
  • 74
  • 179