feat: add org-journal integration and calendar keybindings

- Configure org-journal with custom templates and auto-setup hooks
- Add keybindings for calendar access and journal management
- Update org-agenda-files to include journal and blog paths
This commit is contained in:
trogloxene
2026-03-22 03:16:08 +08:00
parent d6f0dae461
commit 95a6adb2b8
3 changed files with 67 additions and 5 deletions

View File

@@ -183,9 +183,18 @@
;; 存储一个链接
(global-set-key (kbd "C-c l") 'org-store-link)
;; 打开calendar
(global-set-key (kbd "C-c o C") 'calendar)
;; 在calendar中快速打开当天日记
(eval-after-load "calendar"
'(define-key calendar-mode-map (kbd "j o") 'org-journal-open-entry-for-editing))
;; 日记
(global-set-key (kbd "C-c j o") 'org-journal-open-current-journal-file)
(global-set-key (kbd "C-c j n") 'org-journal-new-entry)
;; emms
(global-set-key (kbd "C-c m n") 'emms-next)
(global-set-key (kbd "C-c m p") 'emms-previous)
(global-set-key (kbd "C-c m b") 'emms-browser)