Changing default editor for crontab from vi to vim

Email this to someoneShare on Google+Share on FacebookTweet about this on TwitterShare on LinkedIn

Problem

You would like to change the default editor for crontab from vi to vim.

Solution

Add the following to the ~/.selected_editor: