- Enter vi edit mode for multiple files:
$ ○ → vi webapps/*.xml
5 files to edit
- See all files you're editing:
:ls
- Search and replace across all files:
:argdo %s/old-foo/new-foo/ge
import ( | |
"time" | |
"net/http" | |
"io" | |
"fmt" | |
"strings" | |
) | |
const apacheFormatPattern = "%s - - [%s] \"%s %s %s\" %d %d %.4f\n" |
$ ○ → vi webapps/*.xml
5 files to edit
:ls
:argdo %s/old-foo/new-foo/ge