Skip to content

Commit

Permalink
tweak(denote): unbind consult-notes-org-roam autoloads
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Oct 10, 2023
1 parent ef9fbb6 commit ff3c86f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions modules/me-notes.el
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
:straight t
:init
(+map! :infix "n"
"n" #'denote-create-note
"o" #'denote-open-or-create
"j" #'denote-journal-extras-new-or-existing-entry
"J" #'denote-journal-extras-new-entry
Expand All @@ -33,10 +34,16 @@
:commands consult-notes consult-notes-search-in-all-notes
:init
(fmakunbound 'consult-notes-org-roam-mode)
(fmakunbound 'consult-notes-org-roam-find-node-relation)
(+map! :infix "n"
"f" #'consult-notes
"s" #'consult-notes-search-in-all-notes)
:custom
(consult-notes-file-dir-sources `(("Notes" "n" ,denote-directory))) ; Set notes dir(s), see below
(consult-notes-denote-files-function #'denote-directory-text-only-files) ; Search only for text files in denote dir
:config
(fmakunbound 'consult-notes-org-roam-mode)
(fmakunbound 'consult-notes-org-roam-find-node-relation)
(consult-notes-denote-mode 1)
(consult-notes-org-headings-mode 1))

Expand Down

0 comments on commit ff3c86f

Please sign in to comment.