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
|
;; Handy mode for prose writing and reading
|
||||||
(use-package olivetti
|
(use-package olivetti
|
||||||
:general
|
:general
|
||||||
("C-c o" #'olivetti-mode))
|
("C-c o" #'olivetti-mode)
|
||||||
|
:custom
|
||||||
|
(olivetti-body-width 0.5))
|
||||||
|
|
||||||
;; Multiple cursors
|
;; Multiple cursors
|
||||||
(use-package evil-multiedit
|
(use-package evil-multiedit
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
:init
|
:init
|
||||||
(leader-def-key "o" '(nil :which-key "org"))
|
(leader-def-key "o" '(nil :which-key "org"))
|
||||||
:config
|
: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)))
|
(add-hook 'org-mode-hook (lambda () (require 'org-attach)))
|
||||||
(defun org-find-daily-note ()
|
(defun org-find-daily-note ()
|
||||||
(interactive)
|
(interactive)
|
||||||
|
Loading…
Reference in New Issue
Block a user