How to use vim non-interactively
If you want to use some feature of vim non-interactively, you can use -c command argument. This will accept a vim command and will execute it on the input file.
You can use multiple -c arguments. For example:
vim -...
mahdix.com1 min read