Hi,
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;
EDITOR=vim;
export EDITOR
VISUAL=vim;
export VISUAL=vim
and done…
Now, when editing crontab, it uses vim. Simple.