Hi,<br> I know there are other ways to copy, but I wanted to do it the standard way Vi does. also, I wanted to fix the problem for ever not for this time.<br> I did not copy from a registry. here is what I exactly did:<br> <br> opened file1: vim file1<br> while in file1, opened file2:&nbsp; :e file2<br> scrolled down and yanked some lines: 20yy<br> switched back to file1:&nbsp; ctrl-6<br> paste the lines: p<br> <br> the lines copied were not what I had yanked!<br> funny thing is that instead of file1, I repeated with another file, foo and it worked fine!! so, I don't think it has anything to do with my .vimrc file. this is probably a bug in vim.<br> <br> thanks anyway,<br> Khosrow<br><br><b><i>James Vega &lt;jamessan@debian.org&gt;</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> On Fri, Jul 28, 2006 at 10:52:14AM -0700, Khosrow Hassani wrote:<br>&gt; James Vega <jamessan @debian.org=""> wrote:
 On Fri, Jul 28, 2006 at 09:24:51AM -0700, Khosrow Hassani wrote:<br>&gt; &gt; &gt; Package: Vim<br>&gt; &gt; &gt;  Version: 1:6.3-071+1sarge1<br>&gt; &gt; &gt;  <br>&gt; &gt; &gt;  I am editing my_file and switch to another file (:e second_file) and<br>&gt; &gt; &gt;  yank some lines. when I go back to the original file, my_file by<br>&gt; &gt; &gt;  CTRL-6 and press "p" to copy the yanked lines, I get some other<br>&gt; &gt; &gt;  garbage lines I had never yanked!!<br>&gt; &gt; <br>&gt; &gt; First, try starting Vim with the "-u NONE -N" arguments.  Can you<br>&gt; &gt; reproduce the problem?  If so, give exact steps on how to replicate the<br>&gt; &gt; problem.  Keys pressed, commands run, etc.  If you aren't able to<br>&gt; &gt; reproduce the problem, try starting Vim with the "-u /etc/vim/vimrc -N"<br>&gt; &gt; arguments.<br>&gt; &gt; <br>&gt; &gt; If you are still unable to reproduce it, then the problem would seem to<br>&gt; &gt; be something in your ~/.vimrc or
 ~/.vim/ files.<br>&gt;<br>&gt; Hi,<br>&gt;  with -u NONE -N options it worked fine. with -u /etc/vim/vimrc -N  I<br>&gt;  had the exact same problem! no unusual steps, I just did what I<br>&gt;  reported before, a simple copy.<br><br>There a many different ways to copy and paste.  You can use the mouse,<br>copy from normal mode, copy from visual mode, copy from command line<br>mode.  I also have no idea whether you copied into or pasted from a<br>register.<br><br>In order to be able to reproduce what happened and give some help, I<br>would need to know exactly what you did.  A minimal set of steps to see<br>the same behavior is very helpful.<br><br>James<br>-- <br>GPG Key: 1024D/61326D40 2003-09-02 James Vega <jamessan @debian.org=""><br></jamessan></jamessan></blockquote><br><BR><BR>==================================================<br>growing OLD is mandatory, growing UP is optional !<p>&#32;
                <hr size=1>Do you Yahoo!?<br> Everyone is raving about the <a href="http://us.rd.yahoo.com/evt=42297/*http://advision.webevents.yahoo.com/handraisers"> all-new Yahoo! Mail Beta.</a>