feat(emacs): Configure denote journal support
This commit is contained in:
parent
b9fa236d7a
commit
d5fffd6e72
1 changed files with 6 additions and 5 deletions
|
|
@ -141,7 +141,7 @@
|
|||
(setq! bibtex-completion-bibliography ak/bibliography)
|
||||
(setq! citar-bibliography ak/bibliography)
|
||||
|
||||
(use-package! ledger
|
||||
(use-package! ledger-mode
|
||||
:config
|
||||
(setq
|
||||
;; Use an ISO date format for ledger entries
|
||||
|
|
@ -254,12 +254,13 @@
|
|||
(use-package! denote
|
||||
:after org
|
||||
:config
|
||||
(setq denote-directory (concat org-directory "/notes")
|
||||
|
||||
)
|
||||
(setq denote-directory (concat org-directory "/notes"))
|
||||
(require 'denote-journal-extras)
|
||||
(setq denote-journal-extras-title-format 'day-date-month-year)
|
||||
(map! :leader
|
||||
(:prefix ("n" . "notes")
|
||||
:desc "Denote" "d" #'denote-open-or-create-with-command
|
||||
:desc "Denote" "d" #'denote-open-or-create-with-command
|
||||
:desc "New journal entry" "j" #'denote-journal-extras-new-or-existing-entry
|
||||
))
|
||||
:bind
|
||||
(("C-c n d" . #'denote-open-or-create-with-command))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue