Crontab /
Edit
By default, crontab will use whatever editor is stored in the VISUAL or EDITOR environmental variable, or vi if both are undefined.
If you want to change the editor, type:
$ export EDITOR=<program> $ export VISUAL=<program>
Replace <program>
with your actual editor.