vi is a full feature text editor but not everyone like it. Some may prefer to use NANO for quick configuration and crontab edits.
Before that, NANO installed in your system.
To change the Default Text Editor to NANO, edit the file as below
add the following 2 lines
export VISUAL="nano" export EDITOR="nano"
The changes made won’t take effect on the current session. Log out and log back in to activate the changes.