hlissner / emacs-hide-mode-line

An Emacs plugin that hides (or masks) the current buffer's mode-line

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

About

An Emacs plugin that hides (or masks) the current buffer's mode-line

License:MIT License


Languages

Language:Emacs Lisp 100.0%