Provides mask-mode-line-mode
. A minor mode that masks (or hides) the mode-line
in your current buffer. It can be used to toggle an alternative mode-line…
It’s based on ~hide-mode-line-mode~.
Add mask-mode-line-mode
to hooks where you don’t want a mode-line, like the
completion-list or org todo/agenda-popup windows, or neotree.
(add-hook 'completion-list-mode-hook #'mask-mode-line-mode)
(add-hook 'neotree-mode-hook #'mask-mode-line-mode)
Or replace the mode-line in specific windows:
(let ((mask-mode-line-format '("%b")))
(mask-mode-line-mode +1))
(setq-local mask-mode-line-format '("%b"))
(mask-mode-line-mode +1)
Also can change the face of the mode-line
setting mask-mode-line-face
with a
face.
(setq mask-mode-line-face 'mode-line-minor-mode-face)
Or with the list of attributes ([see Manual][attributes-doc]) that are passed to [`face-remap-add-relative`][remap-doc]
(setq mask-mode-line-face (list :box nil :background "yellow" :height 0.25))
Or
(setq mask-mode-line-face '(:box nil :background "blue" :height 0.1))
[attributes-doc]: https://www.gnu.org/software/emacs/manual/html_node/elisp/Face-Attributes.html [remap-doc]: https://www.gnu.org/software/emacs/manual/html_node/elisp/Face-Remapping.html