doom emacs config time

This commit is contained in:
LinlyBoi
2023-08-28 00:38:53 +03:00
parent 4a2a784601
commit 78e931b60d
5 changed files with 80 additions and 6 deletions

View File

@@ -77,9 +77,30 @@
(setq display-line-numbers-type 'relative)
(after! org
(setq org-roam-directory "~/org/")
(setq org-roam-index-file "~/org/index.org"));; see https://list.orgmode.org/87r5718ytv.fsf@sputnik.localhost
;; org-roam
(use-package! org-roam
:custom
(org-roam-directory "~/org/Brain")
(org-roam-dailies-directory "daily/")
(org-roam-capture-templates
'(("d" "default" plain
(function org-roam-capture--get-point)
"%?"
:file-name "${slug}" ; <---------- see?
:head "#+title: ${title}\n#+created: %u\n#+last_modified: %U\n#+roam_tags:${tag}\n\n"
:unnarrowed t
:immediate-finish t :config)))
(org-roam-dailies-capture-templates
'(("d" "default" entry
"* %?"
:target (file+head "%<%Y-%m-%d>.org"
"#+title: %<%Y-%m-%d>\n"))))
(org-roam-db-autosync-enable)
(require 'org-roam-dailies))
(eval-after-load 'org-list
'(add-hook 'org-checkbox-statistics-hook (function ndk/checkbox-list-complete)))