I am working with two files, and I need to copy a few lines from one file and paste into another file. I know how to copy (yy) and paste (p) in the same file. But that doesn
Another way could be to open the two files in two split buffers and use the following "snippet" after visual selection of the lines of interest.
:vnoremap :yWrp