macOS / binaries /

ex

/usr/bin/ex
Programmer's text editor

Vim is a text editor that is upwards compatible to Vi. Vim behaves differently, depending on the name of the command. ex - start in Ex mode. Go to Normal mode with the ':vi' command.

source: man