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.– stardivinerFeb 23, 2017 at 15:20
Sure, just run
M-x size-indication-mode. See section 14.18 of the Emacs manual for other things you can do.
Or use mode-line-format