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 | |
| parent | 8c82f07f17be5ec6075b4e4ceb8d956d36218c30 (diff) | |
replace custom functions with consult denote
| -rw-r--r-- | bard-elisp/bard-writing.el | 12 | ||||
| -rw-r--r-- | config.org | 12 |
2 files changed, 10 insertions, 14 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/") @@ -4311,13 +4311,11 @@ This is what the tabs look like with ~doom-gruvbox~ theme: *** Searching notes #+begin_src emacs-lisp :tangle bard-elisp/bard-writing.el :mkdirp yes - (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)) #+end_src *** University Class jumping in ~uni.org~ file |
