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

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