6

Is it possible to change the position of modeline so that it appears at the top of the buffer instead of at the bottom of the main buffers? If so, how can I do it?

sawa
  • 165,429
  • 45
  • 277
  • 381

1 Answers1

4

You can have a header-line, and turn off the mode-line with:

(setq-default header-line-format mode-line-format)
(setq-default mode-line-format nil)

This seems to do what (I think) you want for basic usage at least. Opening new files and buffers keeps the header line in place and doesn't have a mode line.

Read more of the documentation about Mode-Line Format.

Trey Jackson
  • 73,529
  • 11
  • 197
  • 229