On Sat, Aug 02, 2003 at 02:41:46PM +0800, Craig Ringer wrote: | I'm not sure if there's a way to avoid having to use the :1,$ notation | to say 'all of file' but when I've tried to use s regex without this, ie | :s/blah/bloh/g | it fails. Jon had it right - you use the % i.e. %s/blah/asdf/g seems to work, at least in Vim. Cameron.