Loading ...
Sorry, an error occurred while loading the content.

Re: How do i copy all words starting with ........

Expand Messages
  • Hari Kishore A J
    ... If you just need to yank and paste, it is as simple as ... Now you can p or Ap it anywhere or a :new file in the same session --Kishore
    Message 1 of 7 , May 5, 2005
    • 0 Attachment
      > 1.I would like to know how to copy
      > all lines containing a cetain word e.g copy
      > all lines that have the word "clever" into the
      > clipboad

      If you just need to yank and paste, it is as simple as
      :let @a=""
      :g/pattern/y A

      Now you can 'p' or "Ap it anywhere or a :new file in the same session

      --Kishore
    Your message has been successfully submitted and would be delivered to recipients shortly.