Thank you for the reply. I really appreciate it. I will try that later
tonight. How would you save it to a file though, rather than system
clipboard? so like just to save it to some temporary new file named
temp.txt.

In addition to my suggestion of

  g/pattern/.w >> temp.txt

you could also do

  :v/pattern/d  " delete the stuff you don't want
  :w temp.txt   " write it to a file
  u             " undo the deletion

-tim




--
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