2

How can I display file size in MB or KB in the mode line? I have the icon for encoding setting, title of the buffer, etc but have no file size in there.

  • How to you customize your mode-line? Make it clear so that user can know how to add code to your custom mode-line. – stardiviner Feb 23 '17 at 15:20
3

Sure, just run M-x size-indication-mode. See section 14.18 of the Emacs manual for other things you can do.

1

Or use mode-line-format %-constructs (%I).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.