How to change the 10 days agenda view to 7 days?

What happened?

I cannot change the 10 days agenda view to a 7 days agenda view. I added in the .config.el file the following: (setq org-agenda-span +7) or I tried also with(setq org-agenda-span "+7d")

What did you expect to happen?

The agenda view should show the next 7 days only.

Steps to reproduce

  1. SPACE o a a a
  2. The agenda view is displayed.

System information

Loading data dump...

Solved: You need to add in the config.el file

(after! org
    (setq org-agenda-span 7))

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.