aboutsummaryrefslogtreecommitdiff
path: root/bard-emacs-modules/bard-emacs-writing.el
diff options
context:
space:
mode:
authorBardofSprites <[email protected]>2025-09-22 10:51:48 -0400
committerBardofSprites <[email protected]>2025-09-22 10:51:48 -0400
commit2429f7ef5bb545376bc0a3e5edccdd9d1d3e086f (patch)
tree335e7eb5e6fdad79e09f0d763198c0f68852f080 /bard-emacs-modules/bard-emacs-writing.el
parentad28b46b9d3bbbdea48768dae544cb00a8af7e08 (diff)
more note writing enhancements
Diffstat (limited to 'bard-emacs-modules/bard-emacs-writing.el')
-rw-r--r--bard-emacs-modules/bard-emacs-writing.el25
1 files changed, 17 insertions, 8 deletions
diff --git a/bard-emacs-modules/bard-emacs-writing.el b/bard-emacs-modules/bard-emacs-writing.el
index be215f2..3d9d40c 100644
--- a/bard-emacs-modules/bard-emacs-writing.el
+++ b/bard-emacs-modules/bard-emacs-writing.el
@@ -108,13 +108,8 @@
(dedicated . t)))
(denote-rename-buffer-mode 1)
- (defun bard/find-notes-file ()
- (interactive)
- (let ((consult-find-args "find . -name \"*.org\"-not ( -path */.git* -prune -or -path */.cache* -prune )"))
- (consult-find "~/Notes/denote")))
- (defun bard/search-notes-directory ()
- (interactive)
- (consult-grep "~/Notes/denote"))
+
+ (require 'bard-writing)
(add-hook 'denote-after-new-note-hook #'bard/denote-insert-id-at-top)
@@ -129,7 +124,8 @@
("C-c n k" . denote-rename-file-keywords)
("C-c n i" . denote-link)
("C-c n I" . denote-add-links)
- ("C-c n b" . denote-backlinks)
+ ("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)
@@ -155,6 +151,19 @@
("C-c n O" . denote-sequence-dired)
("C-c n <SPC>" . denote-sequence-region))
+(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)
+
+
;;; Focus mode for writing
;; Center line scrolling for focused writing