A question about vim, g/pattern/y a or g/pattern/y A

zuoheng zh.huang-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Fri Jul 20 09:57:16 UTC 2007


Now it is clear.  The problem is becaue g(blobal) command, excute y a
(yanking to a) for every matched line. And every time, the last recorded
line will be replaced with a new line.

That's it.

/zuoheng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gtalug.org/pipermail/legacy/attachments/20070720/879a726b/attachment.html>


More information about the Legacy mailing list