diff options
| author | BardofSprites <[email protected]> | 2026-04-21 17:00:02 -0400 |
|---|---|---|
| committer | BardofSprites <[email protected]> | 2026-04-21 17:00:02 -0400 |
| commit | 64ad15461ab8e9f115e46be3a85f017b0d461b7f (patch) | |
| tree | 3f1630e3ee9cb384a0827b13430f1d47c0c899d2 /bard-elisp | |
| parent | 8c82f07f17be5ec6075b4e4ceb8d956d36218c30 (diff) | |
replace custom functions with consult denote
Diffstat (limited to 'bard-elisp')
| -rw-r--r-- | bard-elisp/bard-writing.el | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/bard-elisp/bard-writing.el b/bard-elisp/bard-writing.el index 12c37de..6853ab2 100644 --- a/bard-elisp/bard-writing.el +++ b/bard-elisp/bard-writing.el @@ -31,13 +31,11 @@ (ibuffer nil "*Ibuffer-Notes*" '((name . "^\\[Note\\]")))) -(defun bard/find-notes-file () - (interactive) - (consult-find "~/Notes/denote")) - -(defun bard/search-notes-directory () - (interactive) - (consult-grep "~/Notes/denote")) +(use-package consult-denote + :ensure t + :bind + ("C-c n g" . consult-denote-grep) + ("C-c n f" . consult-denote-find)) (defvar bard/class-dirs '(("CSE 130 " . "~/Documents/Uni/SPRING2026-CSE 130/") |
