2019-01-03 01:54:02 -05:00
|
|
|
#+TITLE: ui/modeline
|
|
|
|
#+DATE: July 29, 2018
|
|
|
|
#+SINCE: v2.0.9
|
|
|
|
#+STARTUP: inlineimages
|
|
|
|
|
|
|
|
* Table of Contents :TOC_2:noexport:
|
2019-05-13 19:30:55 -04:00
|
|
|
- [[#description][Description]]
|
|
|
|
- [[#module-flags][Module Flags]]
|
|
|
|
- [[#plugins][Plugins]]
|
|
|
|
- [[#prerequisites][Prerequisites]]
|
|
|
|
- [[#usage][Usage]]
|
|
|
|
- [[#hiding-the-modeline][Hiding the modeline]]
|
|
|
|
- [[#switching-the-modeline-and-header-line][Switching the modeline and header line]]
|
|
|
|
- [[#configuration][Configuration]]
|
|
|
|
- [[#changing-the-default-modeline][Changing the default modeline]]
|
|
|
|
- [[#activating-a-format][Activating a format]]
|
|
|
|
- [[#defining-a-modeline-format][Defining a modeline format]]
|
|
|
|
- [[#defining-a-modeline-segment][Defining a modeline segment]]
|
|
|
|
- [[#extracting-dooms-modeline-into-your-config][Extracting Doom's modeline into your config]]
|
|
|
|
- [[#troubleshooting][Troubleshooting]]
|
|
|
|
- [[#where-are-my-minor-modes][Where are my minor modes?]]
|
|
|
|
- [[#icons-in-my-modeline-look-strange][Icons in my modeline look strange]]
|
|
|
|
- [[#appendix][Appendix]]
|
|
|
|
- [[#autodefs][Autodefs]]
|
|
|
|
- [[#variables][Variables]]
|
|
|
|
- [[#faces][Faces]]
|
2019-01-03 01:54:02 -05:00
|
|
|
|
|
|
|
* Description
|
2019-05-13 19:30:55 -04:00
|
|
|
This module provides an Atom-inspired, minimalistic modeline for Doom Emacs,
|
|
|
|
powered by [[https://github.com/seagle0128/doom-modeline][the doom-modeline package]] (where you can find screenshots).
|
2019-01-03 01:54:02 -05:00
|
|
|
|
|
|
|
** Module Flags
|
2020-01-09 16:01:02 -05:00
|
|
|
+ =+light= Enables a lighter, less featureful version of the modeline that does
|
|
|
|
not depend on ~doom-modeline~, which has performances issues in some cases.
|
2019-01-03 01:54:02 -05:00
|
|
|
|
|
|
|
** Plugins
|
2019-05-13 19:30:55 -04:00
|
|
|
+ [[https://github.com/seagle0128/doom-modeline][doom-modeline]]
|
2019-01-03 01:54:02 -05:00
|
|
|
+ [[https://github.com/syohex/emacs-anzu][anzu]]
|
|
|
|
+ [[https://github.com/syohex/emacs-evil-anzu][evil-anzu]]
|
|
|
|
|
|
|
|
* 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
|
2019-05-13 19:30:55 -04:00
|
|
|
doom/describe-active-minor-mode~ was written to substitute for it.
|
2019-01-03 01:54:02 -05:00
|
|
|
|
|
|
|
** TODO Icons in my modeline look strange
|
|
|
|
|
|
|
|
* Appendix
|
|
|
|
** Autodefs
|
|
|
|
+ ~def-modeline-format! NAME LEFT &optional RIGHT~
|
|
|
|
+ ~def-modeline-segment! NAME &rest REST~
|
|
|
|
+ ~set-modeline! NAME &optional DEFAULT~
|
|
|
|
** Variables
|
2019-05-13 19:30:55 -04:00
|
|
|
+ doom-modeline-height
|
|
|
|
+ doom-modeline-bar-width
|
|
|
|
+ doom-modeline-buffer-file-name-style
|
|
|
|
+ doom-modeline-icon
|
|
|
|
+ doom-modeline-major-mode-icon
|
|
|
|
+ doom-modeline-major-mode-color-icon
|
|
|
|
+ doom-modeline-buffer-state-icon
|
|
|
|
+ doom-modeline-buffer-modification-icon
|
|
|
|
+ doom-modeline-minor-modes
|
|
|
|
+ doom-modeline-enable-word-count
|
|
|
|
+ doom-modeline-buffer-encoding
|
|
|
|
+ doom-modeline-indent-info
|
|
|
|
+ doom-modeline-checker-simple-format
|
|
|
|
+ doom-modeline-vcs-max-length
|
|
|
|
+ doom-modeline-persp-name
|
|
|
|
+ doom-modeline-lsp
|
|
|
|
+ doom-modeline-github
|
|
|
|
+ doom-modeline-github-interval
|
|
|
|
+ doom-modeline-env-version
|
|
|
|
+ doom-modeline-mu4e
|
|
|
|
+ doom-modeline-irc
|
|
|
|
+ doom-modeline-irc-stylize
|
2019-01-03 01:54:02 -05:00
|
|
|
** Faces
|
|
|
|
+ doom-modeline-buffer-path
|
|
|
|
+ doom-modeline-buffer-file
|
|
|
|
+ doom-modeline-buffer-modified
|
|
|
|
+ doom-modeline-buffer-major-mode
|
2019-05-13 19:30:55 -04:00
|
|
|
+ doom-modeline-buffer-minor-mode
|
|
|
|
+ doom-modeline-project-parent-dir
|
|
|
|
+ doom-modeline-project-dir
|
|
|
|
+ doom-modeline-project-root-dir
|
2019-01-03 01:54:02 -05:00
|
|
|
+ doom-modeline-highlight
|
|
|
|
+ doom-modeline-panel
|
2019-05-13 19:30:55 -04:00
|
|
|
+ doom-modeline-debug
|
2019-01-03 01:54:02 -05:00
|
|
|
+ doom-modeline-info
|
|
|
|
+ doom-modeline-warning
|
|
|
|
+ doom-modeline-urgent
|
2019-05-13 19:30:55 -04:00
|
|
|
+ doom-modeline-unread-number
|
2019-01-03 01:54:02 -05:00
|
|
|
+ doom-modeline-bar
|
2019-05-13 19:30:55 -04:00
|
|
|
+ doom-modeline-inactive-bar
|
|
|
|
+ doom-modeline-evil-emacs-state
|
|
|
|
+ doom-modeline-evil-insert-state
|
|
|
|
+ doom-modeline-evil-motion-state
|
|
|
|
+ doom-modeline-evil-normal-state
|
|
|
|
+ doom-modeline-evil-operator-state
|
|
|
|
+ doom-modeline-evil-visual-state
|
|
|
|
+ doom-modeline-evil-replace-state
|
|
|
|
+ doom-modeline-persp-name
|
|
|
|
+ doom-modeline-persp-buffer-not-in-persp
|