diff options
author | Óscar Nájera <hi@oscarnajera.com> | 2021-04-24 14:08:06 +0200 |
---|---|---|
committer | Óscar Nájera <hi@oscarnajera.com> | 2021-04-24 14:08:06 +0200 |
commit | 338216b876f982551b2349f6a61fe29b2b4f865e (patch) | |
tree | 494f3002b469c0748b003ed7e430bd49ac2233ef /config | |
parent | 18bd186a0c19efa5910a6d7946b11a150b32b97a (diff) | |
download | dotfiles-338216b876f982551b2349f6a61fe29b2b4f865e.tar.gz dotfiles-338216b876f982551b2349f6a61fe29b2b4f865e.tar.bz2 dotfiles-338216b876f982551b2349f6a61fe29b2b4f865e.zip |
orgmode capture templates
Diffstat (limited to 'config')
-rw-r--r-- | config/doom/config.org | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/config/doom/config.org b/config/doom/config.org index 40a6294..41cfdf3 100644 --- a/config/doom/config.org +++ b/config/doom/config.org @@ -68,3 +68,23 @@ Shamelessly copied from https://tecosaur.github.io/emacs-config/#dictionary current-prefix-arg)) (lexic-search identifier nil nil t)) #+end_src +* Orgmode +#+begin_src emacs-lisp +(after! org + (setcdr (assoc "j" org-capture-templates) + '("Journal" entry (file+olp+datetree +org-capture-journal-file) + "* %(format-time-string \"%H:%M\") %?\n%a\n%i +- Timebox days + +- I am grateful for +- What would make today great +- Daily affirmations +- Amazing things that happened yesterday +- How could I have made yesterday even better?" + :clock-in t :clock-resume t)) + + (add-to-list 'org-capture-templates + `("e" "Event" entry (file ,(expand-file-name + "caldav.org" org-directory)) + "* %?\n%^T\n%i\n%a"))) +#+end_src |