First commit.
This commit is contained in:
48
lisp/utilities/zettelkasten.el
Normal file
48
lisp/utilities/zettelkasten.el
Normal file
@@ -0,0 +1,48 @@
|
||||
;;; zettelkasten.el --- zettelkasten method -*- lexical-binding: t; -*-
|
||||
;;; Commentary:
|
||||
;;; Code:
|
||||
|
||||
(use-package org-roam
|
||||
:ensure t
|
||||
:init
|
||||
(setq org-roam-v2-ack t)
|
||||
:custom
|
||||
(org-roam-directory "~/.local/share/emacs/org/roam")
|
||||
:bind (("C-c n f" . org-roam-node-find)
|
||||
("C-c n r" . org-roam-node-random)
|
||||
(:map org-mode-map
|
||||
(("C-c n i" . org-roam-node-insert)
|
||||
("C-c n o" . org-id-get-create)
|
||||
("C-c n t" . org-roam-tag-add)
|
||||
("C-c n a" . org-roam-alias-add)
|
||||
("C-c n l" . org-roam-buffer-toggle))))
|
||||
:config
|
||||
;; org-roam-setup is obsolete, use org-roam-db-autosync-enable instead.
|
||||
(org-roam-db-autosync-enable))
|
||||
|
||||
;; Add modified and creation timestamps to the org-roam property drawer.
|
||||
;; https://github.com/ThomasFKJorna/org-roam-timestamps
|
||||
(use-package org-roam-timestamps
|
||||
:ensure t
|
||||
:after org-roam
|
||||
:config
|
||||
;; Overwrite the previous timestamps instead of keeping a list of timestamps.
|
||||
(setq org-roam-timestamps-remember-timestamps nil)
|
||||
(org-roam-timestamps-mode))
|
||||
|
||||
;; A graphical frontend for exploring your org-roam Zettelkasten.
|
||||
;; https://github.com/org-roam/org-roam-ui
|
||||
(use-package org-roam-ui
|
||||
:ensure t
|
||||
:after org-roam
|
||||
:config
|
||||
(setq
|
||||
;; Sync the Emacs theme
|
||||
org-roam-ui-sync-theme t
|
||||
;; TODO:
|
||||
org-roam-ui-follow t
|
||||
;; Enable open in default browser
|
||||
org-roam-ui-open-on-start t)
|
||||
)
|
||||
|
||||
;;; zettelkasten.el ends here
|
Reference in New Issue
Block a user