$ sudo select-editor
选择3或者4
然后再次打开
crontab -e
就会是vim的方式了。
crontab修改默认编辑器
原文:https://www.cnblogs.com/jiqing9006/p/10343035.html