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
|
(find-file
|
||||||
"~/org/my-org-note/20260508T220745==metanote--all-my-metanotes__org.org"))
|
"~/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."
|
"Ajust all table in current buffer."
|
||||||
(interactive)
|
(interactive)
|
||||||
(save-excursion
|
(save-excursion
|
||||||
|
|||||||
@@ -91,9 +91,9 @@
|
|||||||
;; o for org-mode
|
;; o for org-mode
|
||||||
(general-def
|
(general-def
|
||||||
:prefix "C-c o"
|
:prefix "C-c o"
|
||||||
"f" 'consult-notes
|
"f" 'my-denote-find-file
|
||||||
|
"g" 'consult-denote-grep
|
||||||
"s" 'consult-org-agenda
|
"s" 'consult-org-agenda
|
||||||
"g" 'consult-notes-search-in-all-notes
|
|
||||||
"C" 'calendar
|
"C" 'calendar
|
||||||
"c" 'org-capture
|
"c" 'org-capture
|
||||||
"d" 'denote
|
"d" 'denote
|
||||||
|
|||||||
@@ -102,6 +102,14 @@
|
|||||||
;; denote-org
|
;; denote-org
|
||||||
(use-package 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
|
;; denote-journal
|
||||||
(use-package denote-journal
|
(use-package denote-journal
|
||||||
:hook
|
:hook
|
||||||
@@ -115,16 +123,12 @@
|
|||||||
;; denote-explore
|
;; denote-explore
|
||||||
(use-package denote-explore)
|
(use-package denote-explore)
|
||||||
|
|
||||||
;; consult-notes
|
;; consult-denote
|
||||||
(use-package consult-notes
|
(use-package consult-denote
|
||||||
:straight
|
|
||||||
'(consult-notes :fork (:host github :repo "Andsy10/consult-notes"))
|
|
||||||
:hook
|
:hook
|
||||||
(after-init . consult-notes-denote-mode)
|
(after-init . consult-denote-mode)
|
||||||
:config
|
:init
|
||||||
(setq consult-notes-denote-display-keywords-indicator "_")
|
(setq consult-denote-grep-command 'consult-ripgrep))
|
||||||
(setq consult-notes-denote-display-id-format 'date)
|
|
||||||
(setq consult-notes-denote-display-signature t))
|
|
||||||
|
|
||||||
;; org-download
|
;; org-download
|
||||||
(use-package org-download
|
(use-package org-download
|
||||||
|
|||||||
Reference in New Issue
Block a user