mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-23 19:19:50 +00:00
Update FAQ for #104.
This commit is contained in:
parent
9e5b048f1f
commit
707e354352
1 changed files with 14 additions and 0 deletions
14
README.md
14
README.md
|
@ -213,3 +213,17 @@ Strongly recommend to use
|
|||
up-to-date](https://magit.vc/manual/magit/The-mode_002dline-information-isn_0027t-always-up_002dto_002ddate.html)
|
||||
- [Maybe provide an alternative to VC's mode-line
|
||||
information](https://github.com/magit/magit/issues/2687)
|
||||
|
||||
1. How can I define my own mode-line?
|
||||
|
||||
Use `doom-modeline-def-modeline` to define your own mode-line and set it as
|
||||
default.
|
||||
|
||||
For example:
|
||||
|
||||
```emacs-lisp
|
||||
(doom-modeline-def-modeline 'my-simple-line
|
||||
'(bar matches buffer-info remote-host buffer-position parrot selection-info)
|
||||
'(misc-info minor-modes input-method buffer-encoding major-mode process vcs checker))
|
||||
(doom-modeline-set-modeline 'my-simple-line 'default)
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue