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

RE: [edlug] vim search and replace




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



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