mirror of
https://github.com/larstvei/dot-emacs.git
synced 2024-11-26 07:28:31 +00:00
Use adaptive-wrap, and use visual-line-mode with olivetti
This commit is contained in:
parent
b6d5254d6f
commit
aff3d8d73f
14
init.org
14
init.org
@ -592,11 +592,21 @@
|
|||||||
:defer t
|
:defer t
|
||||||
:bind (:map custom-bindings-map ("C-c o" . olivetti-mode))
|
:bind (:map custom-bindings-map ("C-c o" . olivetti-mode))
|
||||||
:config
|
:config
|
||||||
(setq-default olivetti-body-width (+ fill-column 3))
|
(setq-default olivetti-body-width (+ fill-column 3)))
|
||||||
(remove-hook 'olivetti-mode-on-hook 'visual-line-mode))
|
|
||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
** Adaptive wrapping
|
||||||
|
|
||||||
|
I usually have auto-fill-mode enabled, and most of my files
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
|
||||||
|
(use-package adaptive-wrap
|
||||||
|
:defer t
|
||||||
|
:hook (visual-line-mode . adaptive-wrap-prefix-mode))
|
||||||
|
#+end_src
|
||||||
|
|
||||||
** Focusing with focus
|
** Focusing with focus
|
||||||
|
|
||||||
[[https://github.com/larstvei/Focus][Focus]] is my own package. It looks pretty nice, especially in combination
|
[[https://github.com/larstvei/Focus][Focus]] is my own package. It looks pretty nice, especially in combination
|
||||||
|
Loading…
Reference in New Issue
Block a user