Skip to content

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

License

Notifications You must be signed in to change notification settings

hlissner/emacs-hide-mode-line

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published