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: :e file2<br> scrolled down and yanked some lines: 20yy<br> switched back to file1: 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 <jamessan@debian.org></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>> James Vega <jamessan @debian.org=""> wrote:
On Fri, Jul 28, 2006 at 09:24:51AM -0700, Khosrow Hassani wrote:<br>> > > Package: Vim<br>> > > Version: 1:6.3-071+1sarge1<br>> > > <br>> > > I am editing my_file and switch to another file (:e second_file) and<br>> > > yank some lines. when I go back to the original file, my_file by<br>> > > CTRL-6 and press "p" to copy the yanked lines, I get some other<br>> > > garbage lines I had never yanked!!<br>> > <br>> > First, try starting Vim with the "-u NONE -N" arguments. Can you<br>> > reproduce the problem? If so, give exact steps on how to replicate the<br>> > problem. Keys pressed, commands run, etc. If you aren't able to<br>> > reproduce the problem, try starting Vim with the "-u /etc/vim/vimrc -N"<br>> > arguments.<br>> > <br>> > If you are still unable to reproduce it, then the problem would seem to<br>> > be something in your ~/.vimrc or
~/.vim/ files.<br>><br>> Hi,<br>> with -u NONE -N options it worked fine. with -u /etc/vim/vimrc -N I<br>> had the exact same problem! no unusual steps, I just did what I<br>> 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> 
                <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>