emacs-lsp/lsp-focus@e3e666f447 -> emacs-lsp/lsp-focus@675a20610c emacs-lsp/lsp-treemacs@49df7292c5 -> emacs-lsp/lsp-treemacs@0104931991 tarsius/hl-todo@cdd8a5bc8d -> tarsius/hl-todo@9a147b9a30 lsp-focus and lsp-treemacs dropped Emacs 28.x support. |
||
|---|---|---|
| .. | ||
| .doommodule | ||
| autoload.el | ||
| config.el | ||
| packages.el | ||
| README.org | ||
:ui zen
Description unfold
This module provides two minor modes that make Emacs into a more comfortable writing or coding environment. Folks familiar with "distraction-free" or "zen" modes from other editors — or doom-package:olivetti, doom-package:sublimity, and doom-package:tabula-rasa (Emacs plugins) — will feel right at home.
These modes are:
-
mixed-pitch-mode -
Which renders (most) text in a variable pitch font (see
doom-variable-pitch-font). Unlikevariable-pitch-mode, this will not affect segments of text that are intended to remain in a fixed pitch font, such as code blocks or ASCII tables. -
writeroom-mode -
Our all-in-one "zen" mode that will:
- Center the current buffer.
- Remove superfluous UI elements (like the modeline).
- Activate
mixed-pitch-mode. - Scale up the buffer's text slightly (see
+zen-text-scale). - And make the window's borders slightly thicker (see
+zen-window-divider-size).
Maintainers
Module flags
- +focus
- Dims surrounding code or text around the block or sentence you're currently working on. Includes LSP support if doom-module::tools lsp is enabled (without Eglot).
Packages
- doom-package:mixed-pitch
- doom-package:writeroom-mode
-
- doom-package:focus
- doom-package:lsp-focus if doom-module::tools lsp
Hacks
- Doom has disabled all of writeroom-mode's "global" effects
(
writeroom-global-effectsandwriteroom-maximize-windoware set tonil), and encapsulated them into the+zen/toggle-fullscreencommand, whereas+zen/togglewill only operate on the current buffer. This way, the user may choose how far-reaching they want its effect to be. text-scalehas been advised to adjustvisual-fill-column's margins, so its text won't "squeeze" as you scale it up (or "spill" when scaled down).
TODO Changelog
This module does not have a changelog yet.
Installation
Enable this module in your doom! block.
This module has no external requirements.
Usage
This module provides two entry points:
M-x +zen/toggle(on <leader> t z): toggleswriteroom-mode(restricted to the current buffer).M-x +zen/toggle-fullscreen(on <leader> t Z): toggles zen mode in full-screen mode (deletes other windows and full screens the Emacs frame).
Invoke either command again to undo the change.
TODO Configuration
This module has no configuration documentation yet. Write some?
Troubleshooting
There are no known problems with this module. Report one?
Frequently asked questions
This module has no FAQs yet. Ask one?
TODO Appendix
This module has no appendix yet. Write one?