Install elpa-olivetti by entering the following commands in the terminal:
sudo apt update sudo apt install elpa-olivetti
Description:
Emacs minor mode to more comfortably write prose
Olivetti keeps everything it does buffer-local, so you can write prose in one buffer and code in another, side-by-side in the same frame. Or, by hiding the mode-line and using a single window in a fullscreen frame, Olivetti provides a nice distraction-free environment. In this sense it is similar to writeroom-mode, but the latter is a more hardcore distraction-free writing mode with much larger scope. . Features: * Set a desired text body width to automatically resize window margins to keep the text comfortably in the middle of the window. * Text body width can be the number of characters (an integer) or a fraction of the window width (a float between 0.0 and 1.0). * Interactively change body width with: olivetti-shrink C-c [ [ [ ... olivetti-expand C-c ] ] ] ... olivetti-set-width C-c * If olivetti-body-width is an integer, the text body width will scale with use of text-scale-mode, whereas if a fraction (float) then the text body width will remain at that fraction. * Optionally remember the state of visual-line-mode on entry and recall its state on exit. * Optionally hide the mode-line for distraction-free writing.
Version: 1.5.9-1
Section: universe/lisp