Pages

Your Ad Here

This Blog is not to read or go through

because, I have never been such a mess


Search the blog instead

Friday, July 16, 2010

VIM Editor - Search and Replace

  • /searchkey - search something
  • :[range]s/search/replace/ - replace something within range
  • :8,10 s/search/replace/g  - replace something within range
  • :%s/search/replace/g - replace something full document
  • :%s/search/replace/gc.  - prompt

No comments:

Your Ad Here