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

Re: yank entire line except the newline character

Expand Messages
  • Charles E. Campbell, Jr.
    ... While in normal mode, y$ To get the text put somewhere, move cursor, then p (for put after) or P for (put before). Regards, C Campbell
    Message 1 of 4 , Nov 28, 2003
    • 0 Attachment
      ryan kulla wrote:

      >When i copy an entire yanked line of text to my clipboard like: shift+v "+y
      >
      >..is there a way to automatically make it not count the \n, so when i paste,
      >its not pasting the \n?
      >
      >i want to be able to do this while at the beginning of a line, preferably.
      >
      >

      While in normal mode, y$
      To get the text put somewhere, move cursor, then p (for put after) or P
      for (put before).

      Regards,
      C Campbell
    Your message has been successfully submitted and would be delivered to recipients shortly.