[ Ubuntu ] change crontab editor to vim
http://superuser.com/questions/281617/change-default-text-editor-for-crontab-to-vim
The
crontab -e
command will check the environment variables $EDITOR
and $VISUAL
for an override of the default text editor, so...export VISUAL=vim
or
export EDITOR=vim
should do the trick.
留言
張貼留言