Because I use path-headerline-mode
and small screen laptop, the filename on menubar (or menuline, at the bottom of the window) is not needed for my setup. How can I hide it?
1 Answer
Put this in your init file:
(setq-default mode-line-format (remove 'mode-line-buffer-identification mode-line-format))
It is the presence of mode-line-buffer-identification
in mode-line-format
that causes the mode line to show the buffer name.
See the Elisp manual, node Mode Line Variables for more information.
-
Thx! And I did same on spacemacs via "spaceline-toggle-buffer-id-off".– yokoiwaMar 10, 2019 at 10:17