Of course, you can do this using the vim recording and playback feature. Follow these steps.
1. Open all files using vim * 2. Press "qq" to start recording 3. :set ff=unix 4. :wn 5. Press again "q" to stop recording 6. Execute like " 100@q "
Here 100 is the approximate number of files, but donβt worry if you specify another number. It will stop when it finishes the entire buffer, saying "E165: cannot go beyond the last file." You can get the number of files by running "ls | wc -l" before opening.
source share