Add Agenda Configuration (and Capture)
This commit is contained in:
47
main.org
47
main.org
@@ -397,6 +397,53 @@ And in case we want to make some (GNU)?plots?
|
||||
(leaf gnuplot
|
||||
:ensure t)
|
||||
#+end_src
|
||||
*** Org Mode Agenda/Calendar Things
|
||||
|
||||
**** Agenda Location
|
||||
Make it so that all files in the src_elisp{org-agenda-files} variable
|
||||
(e.g. "=~/Documents=") will be included in the tablutation and
|
||||
collation of all the dates and todos etc.
|
||||
|
||||
#+begin_src elisp :tangle yes
|
||||
(leaf org-agenda-file
|
||||
:after org
|
||||
:config
|
||||
(setq org-agenda-files '("~/Documents/org")))
|
||||
#+end_src
|
||||
|
||||
**** Capture Things
|
||||
|
||||
Unless specified otherwise, any captured note, date, meeting, idea,
|
||||
should be put into the src_elisp{org-directory}.
|
||||
|
||||
Similarly, we have a default file for notes that we capture, in there
|
||||
=note.org=, which is where all captured things go when they aren't
|
||||
told to go elsewhere.
|
||||
|
||||
#+begin_src elisp :tangle yes
|
||||
(leaf org-capture-cfg
|
||||
:after org
|
||||
:config
|
||||
(setq org-directory "~/Documents/org")
|
||||
(setq org-default-notes-file (concat org-directory "/notes.org")))
|
||||
#+end_src
|
||||
|
||||
We also want to configure what type of things we want to capture,
|
||||
e.g. meetings, deadlines and whatever else:
|
||||
|
||||
#+begin_src elisp :tangle yes
|
||||
(leaf org-capture-what
|
||||
:after org
|
||||
:config
|
||||
(setq org-capture-templates
|
||||
'(("t" "Todo" entry (file+headline "todo.org" "Tasks")
|
||||
"* TODO %?\n %i\n %a")
|
||||
("j" "Journal" entry (file+datetree "journal.org")
|
||||
"* %?\nEntered on %U\n %i\n %a")
|
||||
("m" "Meeting" entry (file+headline "dates.org" "Meetings")
|
||||
"* %^{prompt}\n:PROPERTIES:\n:CATEGORY: Meeting\n:END:\nWhen: %^t\nAdded: %U\nTags: %^g\n%?"))))
|
||||
#+end_src
|
||||
|
||||
** Flutter
|
||||
#+begin_src elisp :tangle yes
|
||||
(leaf dart-mode :ensure t)
|
||||
|
||||
Reference in New Issue
Block a user