doom-emacs/modules/ui/vi-tilde-fringe
Henrik Lissner 1abcf913aa
revert: fix(docs): set mode in file-local vars
emacs-straight/org-mode@e22b4eb7aa introduced a breaking change that
made it impossible to rely on .dir-locals.el to change org-mode buffers
in $EMACSDIR to doom-docs-org-mode (without infinite recursion), so we
used file-local variables in 7e400ab.

emacs-straight/org-mode@215de6176b reverted that change, so we can use
.dir-locals.el again, and this is my preference, since it requires less
boilerplate across our hundreds of org files.

Ref: emacs-straight/org-mode@215de6176b
Ref: emacs-straight/org-mode@e22b4eb7aa
Revert: 7e400abdc0
2022-08-07 19:08:07 +02:00
..
autoload.el 💥 Refactor add-hook! macro & change arg order 2019-07-26 20:17:29 +02:00
packages.el Bump :ui 2020-04-29 23:48:42 -04:00
README.org revert: fix(docs): set mode in file-local vars 2022-08-07 19:08:07 +02:00

:ui vi-tilde-fringe

Description   unfold

Displays a tilde(~) in the left fringe to indicate an empty line, similar to Vi.

Module flags

This module has no flags.

Packages

Hacks

No hacks documented for this module.

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

Nothing more needs to be done once the module is activated. Tildes will become visible in all buffers, after EOB.

Configuration

By default, doom activates vi-tilde-fringe-mode for prog-mode, text-mode and conf-mode. To change this to your liking, you can remove any of the modes from the list:

;; in $DOOMDIR/config.el
(remove-hook 'text-mode-hook #'vi-tilde-fringe-mode)

Or add new modes where you would like vi-tilde-fringe-mode enabled:

;; in $DOOMDIR/config.el
(add-hook 'org-mode-hook #'vi-tilde-fringe-mode)

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?