Config: migrate from org-journal to denote-journal

This commit is contained in:
2026-05-10 01:15:28 +08:00
parent 5ee06f8500
commit 1b7d2d1e5e
7 changed files with 71 additions and 189 deletions

View File

@@ -74,8 +74,8 @@
;; j for journal
(general-def
:prefix "C-c j"
"o" 'org-journal-open-current-journal-file-delete-other-window
"n" 'org-journal-new-entry-delete-other-window)
"o" 'my-denote-journal-open-entry
"n" 'denote-journal-new-or-existing-entry)
;; m for media
(general-def
@@ -152,7 +152,12 @@
"C-c i" 'consult-outline
"C-c t l" 'org-toggle-link-display
"M-{" 'org-previous-visible-heading
"M-}" 'org-next-visible-heading)
"M-}" 'org-next-visible-heading
"C-," 'duplicate-and-move-to-next-line)
;; calendar
(general-def calendar-mode-map
"RET" 'denote-journal-calendar-find-file)
;; emms
(general-def emms-playlist-mode-map
@@ -249,11 +254,6 @@
(lambda (buffer) (diff-buffer-with-file (buffer-file-name buffer)))
"show diff between the buffer and its file"))
;; 在calendar中快速打开当天日记
(general-def calendar-mode-map
"j o" 'org-journal-open-entry-for-editing
"<RET>" 'org-journal-open-entry-for-editing)
;; multiple-cursors
(defhydra hydra-multiple-cursors ()
"