On Tue, 2006-10-31 at 06:02:08 +0100, A.J.Mechelynck sent: >You are talking about "the example given in the explanation for >the :@ command". I don't see any such example under ":help :@ " >(in *repeat.txt* For Vim version 7.0. Last change: 2006 Sep >20 at lines 120 sqq.). Where are you seeing that "example"? > I think ":help :@" is a red herring here. The example is under ":he vim-script-intro".
To the OP: The lines are being executed as you enter them on the command line, which is why you get the first result back so soon. Try pasting the example into a script file (say, test.vim), since this is a scripting example. ":source test.vim" should provide you with the output I think you expect. Hope this helps; -paj -- Pete Johns <http://johnsy.com/> Contact Information <http://johnsy.com/contact/> Spring Forward, Fall Back. <http://johnsy.com/20061027220525> 2006-10-22-Morningt...<http://johnsy.com/albums/flickr/276677528>
pgportW5tF9yS.pgp
Description: PGP signature
