aboutsummaryrefslogtreecommitdiff
path: root/bard-emacs-modules/bard-emacs-writing.el
diff options
context:
space:
mode:
Diffstat (limited to 'bard-emacs-modules/bard-emacs-writing.el')
-rw-r--r--bard-emacs-modules/bard-emacs-writing.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/bard-emacs-modules/bard-emacs-writing.el b/bard-emacs-modules/bard-emacs-writing.el
index 377dac6..644c9f3 100644
--- a/bard-emacs-modules/bard-emacs-writing.el
+++ b/bard-emacs-modules/bard-emacs-writing.el
@@ -97,7 +97,8 @@
(denote-rename-buffer-mode 1)
(defun bard/find-notes-file ()
(interactive)
- (consult-find "~/Notes/denote"))
+ (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"))