aboutsummaryrefslogtreecommitdiff
path: root/bard-emacs-modules
diff options
context:
space:
mode:
authorBardofSprites <[email protected]>2025-12-26 18:21:18 -0500
committerBardofSprites <[email protected]>2025-12-26 18:21:18 -0500
commit3fd5220f2890e5efb3021d9b062f2ba2f456eceb (patch)
tree31ee99609269203f4a821b73422186ca03cdc5fd /bard-emacs-modules
parentd45da2cce12b4defa12ae61f7deecb405da008de (diff)
denote-roam
Diffstat (limited to 'bard-emacs-modules')
-rw-r--r--bard-emacs-modules/bard-emacs-writing.el52
1 files changed, 24 insertions, 28 deletions
diff --git a/bard-emacs-modules/bard-emacs-writing.el b/bard-emacs-modules/bard-emacs-writing.el
index 2cb28b8..dc08970 100644
--- a/bard-emacs-modules/bard-emacs-writing.el
+++ b/bard-emacs-modules/bard-emacs-writing.el
@@ -96,25 +96,18 @@
(require 'bard-writing)
- (add-hook 'denote-after-new-note-hook #'bard/denote-maybe-insert-id)
-
:hook
(dired-mode . denote-dired-mode)
-
:bind
(("C-c n n" . denote)
- ("C-c n <TAB>" . denote-region)
("C-c n d" . denote-sort-dired)
("C-c n r" . denote-rename-file-using-front-matter)
("C-c n k" . denote-rename-file-keywords)
- ("C-c n i" . bard/insert-or-create-node)
("C-c n I" . denote-add-links)
("C-c n b" . bard/consult-buffer-notes) ; notes buffer
("C-c n B" . bard/ibuffer-notes) ; notes buffer but more
("C-c n f" . bard/find-notes-file) ; notes-find
- ("C-c n g" . bard/search-notes-directory) ; notes-grep
- ("C-c n l" . denote-find-link)
- ("C-c n L" . denote-find-backlink)))
+ ("C-c n g" . bard/search-notes-directory))) ; notes-grep
(use-package denote-org
:ensure t
@@ -146,18 +139,37 @@
(setq denote-journal-title-format "Daily Tasks and Notes")
)
+(use-package denote-roam
+ :ensure nil
+ :load-path "~/Code/denote-roam/"
+ :bind
+ ("C-c n i" . denote-roam-insert-or-create-node) ; node insert
+ ("C-c n o" . denote-roam-find-or-create-node) ; node open
+ :custom
+ (denote-roam-include-journal nil)
+ (denote-roam-directory "~/Notes/denote")
+ :config
+ (denote-roam-mode t))
+
+;;;; Org Roam
(use-package org-roam
:ensure t
:custom
(org-roam-directory (file-truename "~/Notes/denote"))
- :bind (("C-c n l" . org-roam-buffer-toggle)
- ("C-c n o" . org-roam-node-find))
+ :bind (("C-c n l" . org-roam-buffer-toggle))
:config
+ (setq org-roam-db-node-include-function
+ (lambda ()
+ (not (member "ATTACH" (org-get-tags)))))
+
(org-roam-db-autosync-mode 1))
(use-package org-roam-ui
- :ensure t)
-
+ :ensure t
+ :bind
+ ("C-c n u" . org-roam-ui-open)
+ :custom
+ (org-roam-ui-open-on-start nil))
;;; Focus mode for writing
@@ -266,20 +278,4 @@
:ensure t
)
-;; Org Roam (trying this out again?)
-;;;; Org Roam
-(use-package org-roam
- :ensure t
- :custom
- (org-roam-directory (file-truename "~/Notes/denote"))
- :bind (("C-c n l" . org-roam-buffer-toggle)
- ("C-c n i" . org-roam-node-insert))
- :config
- (org-roam-db-autosync-mode 1))
-
-(use-package org-roam-ui
- :ensure t
- :bind
- ("C-c n u" . org-roam-ui-open))
-
(provide 'bard-emacs-writing)