Welcome to Vifm Q&A, where you can ask questions about Vifm usage. Registration is optional, anonymous posts are moderated. GitHub or Google logins are enabled.

How can I paste the contents of a register into the command line?

0 votes
asked May 4, 2016 in vifm by anonymous

in Vim, if I yank a word, I can paste the resulting register contents in the command line by typing ctrl+r ". To me this would be useful if I am using the command line to run an external file that isn't the default behavior.

1 Answer

+1 vote
answered May 4, 2016 by xaizek

You can use %r<reg-name> macro. It will be expanded properly. There is no direct equivalent to Vim's Ctrl+R. It's not hard to implement one, but given that it's a list of files, each of which needs proper escaping, this task is left on macros as of now (the disadvantage is that you can't edit the list directly).

If you would like to make a bug report or feature request consider using GitHub, SourceForge or e-mail. Posting such things here won't be considered as spam, but this is not a perfect place for it.
...