feat: Add denote-lint, replace consult-note with consult-denote
This commit is contained in:
@@ -112,7 +112,13 @@ otherwise toggle global-jinx-mode."
|
||||
(find-file
|
||||
"~/org/my-org-note/20260508T220745==metanote--all-my-metanotes__org.org"))
|
||||
|
||||
(defun org-table-align-all ()
|
||||
(defun my-denote-find-file ()
|
||||
"Find file use denote-file-prompt."
|
||||
(interactive)
|
||||
(let ((denote-excluded-files-regexp "=journal"))
|
||||
(find-file (denote-file-prompt))))
|
||||
|
||||
(defun my-org-table-align-all ()
|
||||
"Ajust all table in current buffer."
|
||||
(interactive)
|
||||
(save-excursion
|
||||
|
||||
@@ -91,9 +91,9 @@
|
||||
;; o for org-mode
|
||||
(general-def
|
||||
:prefix "C-c o"
|
||||
"f" 'consult-notes
|
||||
"f" 'my-denote-find-file
|
||||
"g" 'consult-denote-grep
|
||||
"s" 'consult-org-agenda
|
||||
"g" 'consult-notes-search-in-all-notes
|
||||
"C" 'calendar
|
||||
"c" 'org-capture
|
||||
"d" 'denote
|
||||
|
||||
@@ -102,6 +102,14 @@
|
||||
;; denote-org
|
||||
(use-package denote-org)
|
||||
|
||||
;; denote-lint
|
||||
(use-package denote-lint
|
||||
:straight '(denote-lint :type git
|
||||
:host github
|
||||
:repo "Andsy10/denote-lint")
|
||||
:config
|
||||
(setq org-link-elisp-confirm-function nil))
|
||||
|
||||
;; denote-journal
|
||||
(use-package denote-journal
|
||||
:hook
|
||||
@@ -115,16 +123,12 @@
|
||||
;; denote-explore
|
||||
(use-package denote-explore)
|
||||
|
||||
;; consult-notes
|
||||
(use-package consult-notes
|
||||
:straight
|
||||
'(consult-notes :fork (:host github :repo "Andsy10/consult-notes"))
|
||||
;; consult-denote
|
||||
(use-package consult-denote
|
||||
:hook
|
||||
(after-init . consult-notes-denote-mode)
|
||||
:config
|
||||
(setq consult-notes-denote-display-keywords-indicator "_")
|
||||
(setq consult-notes-denote-display-id-format 'date)
|
||||
(setq consult-notes-denote-display-signature t))
|
||||
(after-init . consult-denote-mode)
|
||||
:init
|
||||
(setq consult-denote-grep-command 'consult-ripgrep))
|
||||
|
||||
;; org-download
|
||||
(use-package org-download
|
||||
|
||||
Reference in New Issue
Block a user