Giter VIP home page Giter VIP logo

mask-mode-line's Introduction

Mask-mode-line

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~.

Installation

Usage

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

mask-mode-line's People

Contributors

hlissner avatar ricardoricho avatar

Forkers

gregoryg

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.