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

Re: bug in linewise yy followed by p?

Expand Messages
  • Michael DeMoney
    ... I ve tracked it down to having this line in my .vimrc set clipboard=unnamed Without that line everything works fine; with it, I notice the behavior
    Message 1 of 3 , Jan 16, 2004
    • 0 Attachment
      Stephen Riehm wrote:

      >> In particular, after doing a yy and a following p, the put
      >> isn't line-oriented, but rather occurs character-oriented
      >> -- i.e. the text is inserted after the cursor character
      >> rather than the cursor line.
      >
      >
      > I just tried this with 6.181 and it worked fine. How did you
      > notice the difference? All I did was do yyp with the cursor
      > in the middle of the line. I also tried doing the p in the
      > middle of a different line, but got the expected result (ie:
      > a line-wise put)
      >
      > Do you have an exact test (ie: test file and instructions on
      > what you do to produce the bug?)
      >
      > Steve
      >

      I've tracked it down to having this line in my .vimrc

      set clipboard=unnamed

      Without that line everything works fine; with it, I notice
      the behavior mentioned. The interesting thing is that I
      also have this line in the vimrc on my Unix systems and
      don't have this problem.

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