diff options
| author | BardofSprites <[email protected]> | 2024-10-13 13:53:30 -0400 |
|---|---|---|
| committer | BardofSprites <[email protected]> | 2024-10-13 13:53:30 -0400 |
| commit | 7c92a1072aa73311ca215912290e6537af03ffb9 (patch) | |
| tree | c25c1edae5c90e7037e2eb29b20a7d12829cf0fa /bard-emacs-modules/bard-emacs-writing.el | |
| parent | 1138bfba0f23b653d4870418ffdd87b254e995cc (diff) | |
bard/find-notes only .org files
Diffstat (limited to 'bard-emacs-modules/bard-emacs-writing.el')
| -rw-r--r-- | bard-emacs-modules/bard-emacs-writing.el | 3 |
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")) |
