Hi is there any way I can paste the yanked text from a vim buffer to a vim command line, as I need to search for some file names which appear in current open text and I have to manually type the file name after :e
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
Yes you can use ctrl+r + " and can see this as a reference http://stackoverflow.com/questions/906535/how-to-copy-yanked-text-to-vi-command-prompt |
||||
|
|
|
You can do |
|||
|
|
|
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 |
|||
|
|