#+title: Org Agenda and GTD #+date: [2024-01-15 Mon] #+filetags: :org:gtd: #+identifier: 20240115T100000 * Agenda views The agenda aggregates TODO items and scheduled tasks from all org files. #+begin_src emacs-lisp (setq org-agenda-files '("~/notes/" "~/org/inbox.org")) #+end_src * Capture templates #+begin_src emacs-lisp (setq org-capture-templates '(("i" "Inbox" entry (file "~/org/inbox.org") "* TODO %?\n %U\n %a") ("j" "Journal" entry (file+datetree "~/org/journal.org") "* %?\nEntered on %U\n"))) #+end_src * TODO keywords #+begin_src emacs-lisp (setq org-todo-keywords '((sequence "TODO(t)" "NEXT(n)" "WAITING(w)" "|" "DONE(d)" "CANCELLED(c)"))) #+end_src * Useful keybindings | Key | Action | |---------+-------------------------------| | C-c a a | Open agenda week view | | C-c a t | List all TODOs | | C-c c | Capture new item | | C-c C-s | Schedule item | | C-c C-d | Set deadline | | C-c C-t | Cycle TODO state |