For a more detailed example [[https://github.com/sachac/.emacs.d/blob/83d21e473368adb1f63e582a6595450fcd0e787c/Sacha.org#org-agenda][see here]].
BEGIN_SRC emacs-lisp
(setq org-agenda-files
(delq nil
(mapcar (lambda (x) (and (file-exists-p x) x))
'("~/Archiv/Dokumente/Agenda"))
)
)
END_SRC
*** Org capture
Speed commands are a nice and quick way to perform certain actions while at the beginning of a heading. It's not activated by default.
*** Settings
Speed commands are a nice and quick way to perform certain actions while at the beginning of a heading. It's not activated by default.
See the doc for speed keys by checking out the documentation for speed keys in Org mode.
See the doc for speed keys by checking out the documentation for speed keys in Org mode.
#+BEGIN_SRC emacs-lisp
(setq org-use-speed-commands t)
@ -672,53 +648,49 @@ END_SRC
(setq org-hide-emphasis-markers t)
#+END_SRC
Sort org agenda by deadline and priority
The default value for the org tag column is -77, which is weird for smaller width windows. I'd rather have the tags align horizontally with the header.
45 is a good column number to do that.
#+BEGIN_SRC emacs-lisp
(setq org-agenda-sorting-strategy
(quote
((agenda deadline-up priority-down)
(todo priority-down category-keep)
(tags priority-down category-keep)
(search category-keep)))
)
(setq org-tags-column 45)
#+END_SRC
Custom todo-keywords, depending on environment
*** Org key bindings
Set up some global key bindings that integrate with Org mode features