18

Github GitHub - hlissner/emacs-hide-mode-line: An Emacs plugin that hides (or ma...

 3 years ago
source link: https://github.com/hlissner/emacs-hide-mode-line
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

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)

Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK