config/doom: add ox-bb and update time stamp formats
This commit is contained in:
parent
ea580a3385
commit
dcd3338a05
|
@ -187,7 +187,8 @@ Version 2019-11-04 2021-02-16"
|
||||||
(after! org
|
(after! org
|
||||||
(projectile-add-known-project org-directory)
|
(projectile-add-known-project org-directory)
|
||||||
(projectile-register-project-type 'org '(".orgids"))
|
(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
|
;;;; ORG
|
||||||
|
@ -239,7 +240,7 @@ Version 2019-11-04 2021-02-16"
|
||||||
(use-package! time-stamp
|
(use-package! time-stamp
|
||||||
:init (setq time-stamp-start "modified:[ ]+\\\\?"
|
:init (setq time-stamp-start "modified:[ ]+\\\\?"
|
||||||
time-stamp-end "$"
|
time-stamp-end "$"
|
||||||
time-stamp-format "%Y-%m-%dT%H%M%S")
|
time-stamp-format "[%Y-%m-%d %b %H:%M]")
|
||||||
:hook before-save)
|
:hook before-save)
|
||||||
|
|
||||||
;; Visuals
|
;; Visuals
|
||||||
|
@ -369,7 +370,8 @@ Version 2019-11-04 2021-02-16"
|
||||||
+org-roam-open-buffer-on-find-file nil)
|
+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))))
|
(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 my/org-roam-capture-title "\n#+title: ${title}")
|
||||||
(setq org-roam-capture-templates
|
(setq org-roam-capture-templates
|
||||||
`(("d" "default" plain "%?" :target
|
`(("d" "default" plain "%?" :target
|
||||||
|
|
|
@ -45,8 +45,12 @@
|
||||||
(package! dired+)
|
(package! dired+)
|
||||||
|
|
||||||
(unpin! evil-collection)
|
(unpin! evil-collection)
|
||||||
|
|
||||||
(package! ox-context
|
(package! ox-context
|
||||||
:recipe (:host github :repo "Jason-S-Ross/ox-context"))
|
:recipe (:host github :repo "Jason-S-Ross/ox-context"))
|
||||||
|
(package! ox-bb
|
||||||
|
:recipe (:host github :repo "mmitch/ox-bb"))
|
||||||
|
|
||||||
(package! websocket)
|
(package! websocket)
|
||||||
(package! org-roam-ui
|
(package! org-roam-ui
|
||||||
:recipe (:host github :repo "org-roam/org-roam-ui" :files ("*.el" "out")))
|
:recipe (:host github :repo "org-roam/org-roam-ui" :files ("*.el" "out")))
|
||||||
|
|
Loading…
Reference in New Issue