ui/popup: update configuration section in README
This commit is contained in:
parent
886fa36ac8
commit
a0e9981210
1 changed files with 4 additions and 4 deletions
|
@ -72,13 +72,13 @@ Omitted parameters in a ~set-popup-rules!~ will use the defaults set in
|
||||||
~+popup-defaults~.
|
~+popup-defaults~.
|
||||||
|
|
||||||
** Disabling hidden mode-line in popups
|
** Disabling hidden mode-line in popups
|
||||||
The mode-line is hidden in popups, by default. To disable this, you can either:
|
By default, the mode-line is hidden in popups. To disable this, you can either:
|
||||||
|
|
||||||
1. Change the default ~:modeline~ property in ~+popup-defaults~:
|
1. Change the default ~:modeline~ property in ~+popup-defaults~:
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
;; put in private/$USER/config.el
|
;; add to $DOOMDIR/config.el
|
||||||
(map-put +popup-defaults :modeline t)
|
(plist-put +popup-defaults :modeline t)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
A value of ~t~ will instruct popups to use the default mode-line. Any
|
A value of ~t~ will instruct popups to use the default mode-line. Any
|
||||||
|
@ -87,7 +87,7 @@ The mode-line is hidden in popups, by default. To disable this, you can either:
|
||||||
2. Completely disable management of the mode-line in popups:
|
2. Completely disable management of the mode-line in popups:
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
;; in ~/.doom.d/config.el
|
;; add to ~/.doom.d/config.el
|
||||||
(remove-hook '+popup-buffer-mode-hook #'+popup-set-modeline-on-enable-h)
|
(remove-hook '+popup-buffer-mode-hook #'+popup-set-modeline-on-enable-h)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue