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?

ajinfernando
asked Jan 29, 2018
1 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/
View More
parthiban
answered Jan 29, 2018
Your Answer
||||
x
 
100:0