[ 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.

留言

這個網誌中的熱門文章

[翻譯] 介紹現代網路負載平衡與代理伺服器

[MySQL] schema 與資料類型優化