search for a word - /word
replace a word - %s/\<word1\>/word2/g
undo changes - u
Blog
VIM
search for a word - /word replace a word - %s/\<word1\>/word2/g undo changes - u

search for a word - /word
replace a word - %s/\<word1\>/word2/g
undo changes - u
Note: This post may be AI-assisted and then human-edited. Editorial responsibility: Dmytro Lomaka, Kaltenkirchen.
Essential cookies are always active. Statistics, external fonts and marketing load only with your consent (GDPR).
Language, session, consent storage
Anonymous visit analytics
Google Fonts and other CDNs
Advertising pixels and trackers
Scan to open this site quickly on your phone