0

Vim editor : find and replace

Hello, i use vim editor for editing any kind of files in my linux system. How can i use find and replace option in my vim editor? what is the command for it?

Text Editor vim find command Add a comment
ajinfernando
asked Jan 29 2018

Answer

0

Press Esc when you are in Insert mode on your vim editor, then type the following command to apply find and replace for a particular words

:%s/word1/word2/
Add a comment
parthiban
asked Jan 29 2018
edited Oct 05 2018
Post your Answer