[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Edlug Archive Jan 2003 ]

Re: [edlug] vim search and replace



Peter, 

	remember, u is your friend ;)

	multiple u is often even more friendly (but can be dangerous!)

Alistair

 Peter  George Said (peter@xxx.xxx.xxx):

> 
> 
> Thx all, that worked nicely, enabling me to break my stylesheet quick quickly, lol.
> 
> http://arkaig.netresources.co.uk/~peter
> 
> P
> 
> -----Original Message-----
> From:	Steve Kemp [mailto:skx@xxx.xxx.xxx]
> Sent:	Sat 18/01/2003 12:28
> To:	Peter  George
> Cc:	edlug@xxx.xxx.xxx
> Subject:	Re: [edlug] vim search and replace
> On Sat, Jan 18, 2003 at 11:35:57AM -0000, Peter  George wrote:
> 
> > I want to replace every occurrence of say "#cccc99" with "#rrggbb". How can I do this automagically?
> 
>   :%s/#cccc99/#rrggbb/g
> 
>   Should do what you want,.
> 
> Steve
> ---
> Emacs Uber Alles.
> 
> 
> 
> 
> -----------------------------------------------------------------------
> You can find the EdLUG mailing list FAQ list at:
> http://www.edlug.org.uk/list_faq.html

-- 
 __    __
 \ \  / / Alistair J. Ross
  \ \/ /  Chief Executive Officer,
  / /\ \  XBOLT.network (www.xbolt.net)
 / /  \ \ 
 ""    ""
SALES: 	 0870 748 4346
SUPPORT: 0702 112 8458 (Calls Cost 25p/min) 
 
 ,===============================================================,
|(www.xbolt.net) :: Premium Linux shells and webhosting for all!|
|(www.linuxnewbieguide.com) :: Linux without the technobabble!  |
\===============================================================/
-----------------------------------------------------------------------
You can find the EdLUG mailing list FAQ list at:
http://www.edlug.org.uk/list_faq.html



This archive is kept by wibble@morpheux.org.DONTSPAMME
homepage