Setup basic Org Agenda

This commit is contained in:
Antoine Martin 2020-04-11 16:59:02 +02:00
parent e687d5377f
commit 2de66f389f

View file

@ -9,6 +9,8 @@
- [[#rust][Rust]]
- [[#cc][C/C++]]
- [[#org-mode][Org mode]]
- [[#agenda-setup][Agenda setup]]
- [[#doom-specific][Doom specific]]
* Misc
@ -108,6 +110,19 @@ system. Let's disable it.
* Org mode
** Agenda setup
I want the default agenda view to be a daily view, with a log of what I've done
during the day.
#+BEGIN_SRC emacs-lisp
(after! org
(setq org-agenda-span 'day)
(setq org-agenda-start-with-log-mode t))
#+END_SRC
** Doom specific
Doom replaces the default tab behavior on headings, this restores the default
one. Taken from [[https://github.com/hlissner/doom-emacs/tree/develop/modules/lang/org#hacks][here]].
@ -115,11 +130,3 @@ one. Taken from [[https://github.com/hlissner/doom-emacs/tree/develop/modules/la
(after! evil-org
(remove-hook 'org-tab-first-hook #'+org-cycle-only-current-subtree-h))
#+END_SRC
Doom indents subtitles and their content by default, I prefer to leave them as
is.
#+BEGIN_SRC emacs-lisp
(after! org
(setq org-startup-indented nil))
#+END_SRC