/ Published in: Bash
![](/img/icon_sav.png?v3)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
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
URL: http://www.felixgers.de/teaching/emacs/vi_search_replace.html
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)