config/doom: add ox-bb and update time stamp formats

This commit is contained in:
xeruf 2022-01-30 12:32:06 +01:00
parent ea580a3385
commit dcd3338a05
2 changed files with 9 additions and 3 deletions

View File

@ -187,7 +187,8 @@ Version 2019-11-04 2021-02-16"
(after! org
(projectile-add-known-project org-directory)
(projectile-register-project-type 'org '(".orgids"))
(setq projectile-project-search-path '((org-directory . 0) ((expand-file-name "1-projects" user-data-dir) . 3))))
;(setq projectile-project-search-path '((org-directory . 0) ((expand-file-name "1-projects" user-data-dir) . 3)))
)
)
;;;; ORG
@ -239,7 +240,7 @@ Version 2019-11-04 2021-02-16"
(use-package! time-stamp
:init (setq time-stamp-start "modified:[ ]+\\\\?"
time-stamp-end "$"
time-stamp-format "%Y-%m-%dT%H%M%S")
time-stamp-format "[%Y-%m-%d %b %H:%M]")
:hook before-save)
;; Visuals
@ -369,7 +370,8 @@ Version 2019-11-04 2021-02-16"
+org-roam-open-buffer-on-find-file nil)
(add-hook 'org-capture-after-finalize-hook (lambda () (if (org-roam-file-p) (org-roam-db-sync))))
(setq my/org-roam-capture-props ":properties:\n:id: ${slug}\n:created: %<%Y-%m-%dT%H%M%S>\n:modified: <>\n:end:\n")
; TODO time-stamp-format
(setq my/org-roam-capture-props ":properties:\n:id: ${slug}\n:created: %[%Y-%m-%d %b %H:%M]\n:modified: <>\n:end:\n")
(setq my/org-roam-capture-title "\n#+title: ${title}")
(setq org-roam-capture-templates
`(("d" "default" plain "%?" :target

View File

@ -45,8 +45,12 @@
(package! dired+)
(unpin! evil-collection)
(package! ox-context
:recipe (:host github :repo "Jason-S-Ross/ox-context"))
(package! ox-bb
:recipe (:host github :repo "mmitch/ox-bb"))
(package! websocket)
(package! org-roam-ui
:recipe (:host github :repo "org-roam/org-roam-ui" :files ("*.el" "out")))