Skip to content
An Emacs plugin that hides (or masks) the current buffer's mode-line
Emacs Lisp
Branch: master
Clone or download
Latest commit 8888882 Sep 22, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Add license & readme Mar 1, 2018
README.md Update readme; add melpa badge Mar 2, 2018
hide-mode-line.el v1.0.2 bump Sep 22, 2019

README.md

MELPA MIT

hide-mode-line

Provides hide-mode-line-mode. A minor mode that hides (or masks) the mode-line in your current buffer. It can be used to toggle an alternative mode-line, toggle its visibility, or simply disable the mode-line in buffers where it isn't very useful otherwise.

Extracted from doom-hide-modeline-mode in Doom Emacs.

Install

hide-mode-line is available on MELPA.

M-x package-install hide-mode-line

(require 'hide-mode-line)

Add hide-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 #'hide-mode-line-mode)
(add-hook 'neotree-mode-hook #'hide-mode-line-mode)

Or replace the mode-line in specific windows:

(let ((hide-mode-line-format '("%b")))
  (hide-mode-line-mode +1))

(setq-local hide-mode-line-format '("%b"))
(hide-mode-line-mode +1)
You can’t perform that action at this time.