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

@@ -30,6 +30,16 @@
colors))))
(string-trim (car (split-string choice)))))
;; org-mode美化
(use-package olivetti
:config
(add-hook 'olivetti-mode-hook
(lambda ()
(display-line-numbers-mode -1)))
(add-hook 'org-mode-hook
(lambda ()
(olivetti-mode 1))))
;; rainbow mode
(use-package rainbow-mode)