Paste filename

The % register is the current filename. You can paste in from any register with "xp, where x is the register you want to paste from. For example - "%p will paste in the filename. Alternatively if you were in insert mode you could do ctrl-r %.

Further Reading

:h :registers :h "xp :h i_CTRL-R

More Gifs