On Mon, Mar 12, 2012 at 09:01:29PM +0000, Dimitar DIMITROV wrote: > Hi, I don't have the latest version of Vim installed, so this might not be a > real bug. > Please check!
I don't think this is a bug, per se. > 1. 60obutter<cr>chocolate<esc> (120 lines) > 2. qwq > 3. :g/butter/y W > 4. at the -- More -- prompt hit q > 5. in a new window: "wP > > Result: you have copied only half the words (or a screenfull in fact) > > > :silent g/butter/y W will do it but if you hadn't thought about using :silent, > you would have to use G on the -- More -- prompt in order to have the correct > result. > Hi, > Sorry, forgot to mention that you need :set report=0 > Cheers Next time, you ought to add a remark like this as a reply to the original message - it really helps those of us using a threaded mail reader, and will look better for future generations reading this on Gmane :) After I realized that you had 'set report=0', I understood what was happening here. You only yank a screenful of lines because by hitting 'q' you are killing the command that generated all of the output before it has finished its job. You'll either need to adjust 'report' or become accustomed to hitting <SPACE> repeatedly to page through the output each time you run a ":" command. -- Erik Falor http://unnovative.net Registered Linux User #445632 http://linuxcounter.net
pgpLm48xFAGYh.pgp
Description: PGP signature
