Show current file size in vim editor

vim

I'm heavily using Vim to edit and work with my files, now I'm starting to open big files and it would be useful to see the file size directly from VIM itself.

Is there a way to show the current file size in vim ?

At the moment I'm doing :

:!ls -lah %

Is there an internal way to display the current file size ?

Best Answer

Hit g CTRL-g to see some statistics on the current file in the status line, including file size.