feat(emacs): Configure denote journal support
This commit is contained in:
parent
e1dea1be0c
commit
7767c0a318
1 changed files with 6 additions and 5 deletions
|
|
@ -141,7 +141,7 @@
|
||||||
(setq! bibtex-completion-bibliography ak/bibliography)
|
(setq! bibtex-completion-bibliography ak/bibliography)
|
||||||
(setq! citar-bibliography ak/bibliography)
|
(setq! citar-bibliography ak/bibliography)
|
||||||
|
|
||||||
(use-package! ledger
|
(use-package! ledger-mode
|
||||||
:config
|
:config
|
||||||
(setq
|
(setq
|
||||||
;; Use an ISO date format for ledger entries
|
;; Use an ISO date format for ledger entries
|
||||||
|
|
@ -254,12 +254,13 @@
|
||||||
(use-package! denote
|
(use-package! denote
|
||||||
:after org
|
:after org
|
||||||
:config
|
: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
|
(map! :leader
|
||||||
(:prefix ("n" . "notes")
|
(: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
|
:bind
|
||||||
(("C-c n d" . #'denote-open-or-create-with-command))
|
(("C-c n d" . #'denote-open-or-create-with-command))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue