I was watching this video on someone's emacs configuration, and I noticed that his mode line seemed a lot better to look at than mine, but he didn't explain it in the video. Is there a way to replicate the mode line in the video, or to remove the parentheses around the mode and increase the size of the status line? Or is it some plugin. Ive already tried all the themes in the powerline and smart mode line plugins, and I can't seem to find a way to replicate it. Any help is appreciated, thanks.
Asked
Active
Viewed 5,418 times
1 Answers
7
Set mode-line
with a :box
property which has a greater line-width
. The thing is you must set the :background
to have the same color as the :color
of the :box
.
I use this in my theme:
`(mode-line ((t (:background "black" :foreground "gray70" :box (:line-width 4 :color "black")))))
Or you can set mode-line
in your .init file
(custom-set-faces
'(mode-line ((t (:background "black" :foreground "gray70" :box (:line-width 4 :color "black"))))))

caisah
- 4,096
- 1
- 24
- 43
-
-
Well, the code didn't work, but I was able to do the same thing with the customization menu. Maybe its cause i'm on a mac. – Vityou Jun 25 '16 at 18:37
-
1It doesn't work because that was supposed to be added to the theme file. I have updated the anaswer. – caisah Jun 26 '16 at 12:43
M-x customize-face RET mode-line RET
and set the:height
property to something like140
or whatever floats your boat. And, then do the same thing formode-line-inactive
. – lawlist Jun 25 '16 at 13:46