title: vim command to search&copy lines in selection
body: <p>How can I copy lines that is matches a pattern to another line, within a selected part of the document. I can do it for whole document with <code>:g/\s*$data/co24</code> but I couldn't figure out how to apply this function to only a selected part of a document.</p>