Last Updated:

Reset visual and editor to use Vim

Categories CLI


I ran across a small issue where the client wanted to use vim as the default editor for crontab as opposed to pico. I was able to modify this by using the following commands;

export EDITOR
export VISUAL=vim

and done…

Now, when editing crontab, it uses vim. Simple.