[lug] 2 more vim questions

Daniel Webb lists at danielwebb.us
Thu Mar 1 18:18:44 MST 2007


On Thu, Mar 01, 2007 at 03:48:52PM -0800, karl horlen wrote:

> anybody know how to extend my print commands to allow
> for yanking or redirecting the results?

It's probably not the best way to do it, but what I do is:

1) :v/pattern/d
2) yank, save, print, etc
3) undo





More information about the LUG mailing list