Return to Snippet

Revision: 32694
at October 1, 2010 21:40 by moonbather


Initial Code
First occurrence on current line:      :s/OLD/NEW
  
Globally (all) on current line:        :s/OLD/NEW/g 

Between two lines #,#:                 :#,#s/OLD/NEW/g
  
Every occurrence in file:              :%s/OLD/NEW/g

Initial URL
http://www.felixgers.de/teaching/emacs/vi_search_replace.html

Initial Description

                                

Initial Title
Vi find and replace in

Initial Tags
replace, find

Initial Language
Bash