1

vim insert current filename into the contents

view story
linux-howto

http://unix.stackexchange.com – After some searching, I got to know :echo @% display's the current file-name in the bottom line of vim-screen. I would like to dump the file-name(with and without full path) into the contents of the file without leaving vim. Is there any way to do this? (HowTos)