mirror of
https://github.com/doomemacs/doomemacs.git
synced 2025-12-06 02:30:33 -08:00
3.3 KiB
3.3 KiB
ui/modeline
Description
This module provides an Atom-inspired, minimalistic modeline for Doom Emacs, as well as an API for building your own.
- A match count panel (for
evil-search,ieditandevil-substitute) - An indicator for recording a macro
- Local python/ruby version in the major-mode
- A customizable mode-line height (see
+doom-modeline-height) - An error/warning count segment for flycheck

Module Flags
This module provides no flags.
Plugins
Prerequisites
This module has no prerequisites.
Usage
TODO Hiding the modeline
TODO Switching the modeline and header line
Configuration
TODO Changing the default modeline
TODO Activating a format
TODO Defining a modeline format
TODO Defining a modeline segment
TODO Extracting Doom's modeline into your config
Troubleshooting
Where are my minor modes?
I rarely need to know what minor modes are active, so I removed them. M-x
doom/what-minor-mode was written to substitute for it.
TODO Icons in my modeline look strange
Appendix
Commands
This module exposes no public commands.
Autodefs
def-modeline-format! NAME LEFT &optional RIGHTdef-modeline-segment! NAME &rest RESTset-modeline! NAME &optional DEFAULT
Functions
- +modeline-file-path
Variables
- +modeline-width
- +modeline-height
- +modeline-buffer-path-function
- +modeline-format-left
- +modeline-format-rigth
Faces
- doom-modeline-buffer-path
- doom-modeline-buffer-file
- doom-modeline-buffer-modified
- doom-modeline-buffer-major-mode
- doom-modeline-highlight
- doom-modeline-panel
- doom-modeline-info
- doom-modeline-warning
- doom-modeline-urgent
- doom-modeline-bar
Modeline segments
- +modeline-buffer-state
- +modeline-buffer-id
- +modeline-buffer-directory
- +modeline-vcs
- +modeline-encoding
- +modeline-major-mode
- +modeline-matches
- +modeline-selection-info