ok here is what I have done:

1. I saved that script into copysearch.vim. 
2. Ran the file I wanted to process and typed ":so copysearch.vim". 
3. I typed "/http:[0-9a-zA-Z?=+._~&/\-]\+"
4. Typed ":CopyMatches"

It is now still running when I check the Windows Task Manager (gvim is using
51%cpu). I am doing this through cygwin, running vim.

It is afterall, a document that contains 2,560,213 lines. 

Anyway, while that was (well, still is) running, I tested on a small file
(only 168 lines). I did the same thing above and then pressed and held the
buttons "Ctrl, W, n" like you said and a new window popped up at the top. I
tried typing  "+p but all it did was insert a ':' character in the editor?


-- 
View this message in context: 
http://old.nabble.com/search-for-occurrences-in-document-and-copy-it-tp28838398p28868354.html
Sent from the Vim - General mailing list archive at Nabble.com.

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to