Created
February 23, 2023 19:54
-
-
Save maxsei/7180a4113da94442bf8a2ab7330d050c to your computer and use it in GitHub Desktop.
Editing multiple files with vim in a headless way
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| vim -u NONE -c 'argdo source cmd.vim | w' -c 'qa' foo.txt bar.txt qux.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment