I am trying to figure out why I don't have syntax highlighting when editing my crontab.
I have both
$VISUAL set to
> echo $EDITOR /usr/bin/vim > echo $VISUAL /usr/bin/vim
If I save the crontab to a file and edit it with vim syntax highlighting is enabled.
> crontab -l > saved_cronab > /usr/bin/vim saved_crontab
And if I use
:syntax on while editing the crotab nothing changes
How can I enable highlighting when editing crontab with