pkg update and first config fix
org-brain not working, add org-roam
This commit is contained in:
@@ -529,6 +529,46 @@ Suggest the URL title as a description for resource."
|
||||
(setq org-num-skip-tags '("ignore"))
|
||||
(setq org-num-skip-unnumbered t))
|
||||
|
||||
(use-package org-roam
|
||||
;; builds SQLite db and requires gcc or clang, check `org-roam--sqlite-available-p'
|
||||
;; create roam directory beforehand
|
||||
;; do not sync the db file, only the org files.
|
||||
;; to sync manually run `org-roam-db-sync' from a file within a roam directory
|
||||
;; to greate a node inside an org file, on a header execute `org-id-get-create'
|
||||
:bind (("C-c r l" . org-roam-buffer-toggle)
|
||||
("C-c r L" . org-roam-buffer-display-dedicated)
|
||||
("C-c r f" . org-roam-node-find)
|
||||
("C-c r i" . org-roam-node-insert)
|
||||
("C-c r c" . org-roam-capture)
|
||||
("C-c r a" . org-roam-alias-add)
|
||||
("C-c r A" . org-roam-alias-remove)
|
||||
("C-c r i" . org-id-get-create) ;; create id for file or header
|
||||
("C-c r r" . org-roam-ref-add)
|
||||
("C-c r R" . org-roam-ref-remove)
|
||||
;; Dailies
|
||||
("C-c r j" . org-roam-dailies-capture-today))
|
||||
:init
|
||||
(setq org-roam-v2-ack t) ;; no migration warning
|
||||
(setq org-roam-directory (expand-file-name "~/Sync/workspace/emacs/org-roam")) ;; check if folder exists
|
||||
(setq org-roam-db-location (concat user-cache-directory "org-roam.db"))
|
||||
;; (setq org-roam-graph-viewer nil)
|
||||
:config
|
||||
(org-roam-db-autosync-mode) ;; sync on file change
|
||||
;;(org-roam-setup)
|
||||
)
|
||||
|
||||
(use-package org-roam-graph
|
||||
:bind (("C-c r g" . org-roam-graph)))
|
||||
|
||||
(use-package org-roam-ui
|
||||
:after (org-roam)
|
||||
:config
|
||||
(setq org-roam-ui-sync-theme t)
|
||||
(setq org-roam-ui-follow t)
|
||||
(setq org-roam-ui-update-on-save t)
|
||||
;;(setq org-roam-ui-open-on-start t)
|
||||
)
|
||||
|
||||
(use-package org-sticky-header
|
||||
:after (org org-table-sticky-header) ;; org-table-sticky-header-mode must be set before
|
||||
:hook (org-mode . org-sticky-header-mode)
|
||||
|
||||
Reference in New Issue
Block a user