3 ms·
and i still dont know how to search and replace in VIM !!
by sciencesama 5y ago
and i still dont know how to search and replace in VIM !!
- artogahr 5y ago:%s/firstpattern/secondpattern/g g for global, or to match all the found ones, not just the next one you can also add c for confirm to the end, which will make vim ask for confirmation for each replace, so you can pick-and-choose