Start the vim editor in ex mode.
The ex command starts the vim text editor in ex mode. The execution effect of ex is the same as vi -E. Its syntax and parameters are consistent with the vi command. To return from ex mode to normal mode, enter :vi or :visual within vim.
ex [parameters]
File: Specify the file to be edited.