Config: install olivetti to prettify org-mode, edit some keybindings

This commit is contained in:
2026-05-10 04:16:22 +08:00
parent 1b7d2d1e5e
commit 6b58f2928e
6 changed files with 28 additions and 17 deletions

View File

@@ -88,12 +88,6 @@ Disable jinx-mode if it's enable and global-jinx-mode is disable , otherwise tog
(org-back-to-heading)
(org-cycle)))
(defun consult-org-ripgrep ()
"Search in org files use consult-ripgrep."
(interactive)
(consult-ripgrep (unless *is-windows*
'("~/org/my-org-note/" "~/org/hugo/this-is-my-blog/all-blog.org"))))
(defun my-denote-journal-path-to-existing-entry (&optional date interval)
"Return the path of current denote journal if it exists, otherwise return nil."
(require 'denote-journal)