Config: migrate from org-journal to denote-journal
This commit is contained in:
@@ -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 ()
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user