Last updated on October 27th, 2013 at 09:54 pm
You can search and replace easily in VIM using this way
:%s/foo/bar/gc
Always have confirmation first, if you want to replace all, can choose ‘a’ after the search.
Last updated on October 27th, 2013 at 09:54 pm
You can search and replace easily in VIM using this way
:%s/foo/bar/gc
Always have confirmation first, if you want to replace all, can choose ‘a’ after the search.