doomemacs/modules/ui/vi-tilde-fringe/README.org

61 lines
1.6 KiB
Org Mode
Raw Normal View History

#+title: :ui vi-tilde-fringe
#+subtitle: Fringe tildes beyond EOB
#+created: September 24, 2017
#+since: 2.0.6
* Description :unfold:
Displays a tilde(~) in the left fringe to indicate an empty line, similar to Vi.
2021-05-22 10:01:57 +02:00
** Maintainers
- [[doom-user:][@hlissner]]
2021-05-22 10:01:57 +02:00
[[doom-contrib-maintainer:][Become a maintainer?]]
2021-05-22 10:01:57 +02:00
** Module flags
/This module has no flags./
2021-05-22 10:01:57 +02:00
** Packages
2022-09-26 02:19:42 +08:00
- [[doom-package:vi-tilde-fringe]]
2021-05-22 10:01:57 +02:00
** Hacks
/No hacks documented for this module./
** TODO Changelog
# This section will be machine generated. Don't edit it by hand.
/This module does not have a changelog yet./
* Installation
[[id:01cffea4-3329-45e2-a892-95a384ab2338][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.
2021-05-22 10:01:57 +02:00
* 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:
2021-05-22 10:01:57 +02:00
#+begin_src emacs-lisp
;; in $DOOMDIR/config.el
2021-05-22 10:01:57 +02:00
(remove-hook 'text-mode-hook #'vi-tilde-fringe-mode)
#+end_src
Or add new modes where you would like ~vi-tilde-fringe-mode~ enabled:
2021-05-22 10:01:57 +02:00
#+begin_src emacs-lisp
;; in $DOOMDIR/config.el
2021-05-22 10:01:57 +02:00
(add-hook 'org-mode-hook #'vi-tilde-fringe-mode)
#+end_src
* Troubleshooting
/There are no known problems with this module./ [[doom-report:][Report one?]]
* Frequently asked questions
/This module has no FAQs yet./ [[doom-suggest-faq:][Ask one?]]
* TODO Appendix
#+begin_quote
󱌣 This module has no appendix yet. [[doom-contrib-module:][Write one?]]
#+end_quote