How to paste yanked text to vim command-line?

Solution 1:

Yes you can use ctrl+r + " and can see this as a reference https://stackoverflow.com/questions/906535/how-to-copy-yanked-text-to-vi-command-prompt

Solution 2:

You can do <C-r>" to paste from the default register or <C-r>a to paste from register a.

Solution 3:

If your cursor is on the filename before you go to command mode use Ctrl-rCtrl-f.

You could also use the command-line window for this, and then edit the command line like you would in the file buffer.

See :help c_CTRL-R_CTRL-F and :help command-line-window for more.