making mini-echo-short-style smaller
This commit is contained in:
parent
0acd8a55b9
commit
a9cfaf3d21
|
@ -323,6 +323,14 @@ Probably the prettiest and best modeline I've found.
|
||||||
("word-count" . 4))))
|
("word-count" . 4))))
|
||||||
mini-echo-right-padding 0
|
mini-echo-right-padding 0
|
||||||
mini-echo-buffer-status-style 'both)
|
mini-echo-buffer-status-style 'both)
|
||||||
|
|
||||||
|
|
||||||
|
(defun chris/mini-echo-minibuffer-width-lessp ()
|
||||||
|
"Return non-nil if current minibuffer window width less than 120."
|
||||||
|
(< (mini-echo-minibuffer-width) 100))
|
||||||
|
|
||||||
|
(setq mini-echo-short-style-predicate 'chris/mini-echo-minibuffer-width-lessp)
|
||||||
|
|
||||||
:config
|
:config
|
||||||
(defun chris/toggle-mode-lines ()
|
(defun chris/toggle-mode-lines ()
|
||||||
"Switch between doom and mini-echo"
|
"Switch between doom and mini-echo"
|
||||||
|
|
8
init.el
8
init.el
|
@ -146,6 +146,14 @@
|
||||||
("word-count" . 4))))
|
("word-count" . 4))))
|
||||||
mini-echo-right-padding 0
|
mini-echo-right-padding 0
|
||||||
mini-echo-buffer-status-style 'both)
|
mini-echo-buffer-status-style 'both)
|
||||||
|
|
||||||
|
|
||||||
|
(defun chris/mini-echo-minibuffer-width-lessp ()
|
||||||
|
"Return non-nil if current minibuffer window width less than 120."
|
||||||
|
(< (mini-echo-minibuffer-width) 100))
|
||||||
|
|
||||||
|
(setq mini-echo-short-style-predicate 'chris/mini-echo-minibuffer-width-lessp)
|
||||||
|
|
||||||
:config
|
:config
|
||||||
(defun chris/toggle-mode-lines ()
|
(defun chris/toggle-mode-lines ()
|
||||||
"Switch between doom and mini-echo"
|
"Switch between doom and mini-echo"
|
||||||
|
|
Loading…
Reference in a new issue