Use olivetti-mode for org file
This commit is contained in:
parent
1fc705df42
commit
75019ff987
@ -94,7 +94,9 @@
|
||||
;; Handy mode for prose writing and reading
|
||||
(use-package olivetti
|
||||
:general
|
||||
("C-c o" #'olivetti-mode))
|
||||
("C-c o" #'olivetti-mode)
|
||||
:custom
|
||||
(olivetti-body-width 0.5))
|
||||
|
||||
;; Multiple cursors
|
||||
(use-package evil-multiedit
|
||||
|
@ -7,7 +7,7 @@
|
||||
:init
|
||||
(leader-def-key "o" '(nil :which-key "org"))
|
||||
:config
|
||||
(add-hook 'org-mode-hook #'auto-fill-mode)
|
||||
(add-hook 'org-mode-hook #'olivetti-mode)
|
||||
(add-hook 'org-mode-hook (lambda () (require 'org-attach)))
|
||||
(defun org-find-daily-note ()
|
||||
(interactive)
|
||||
|
Loading…
Reference in New Issue
Block a user