Set vim as default cronjob editor

Method 1

Find

Replace with

Method 2

edit .bash_profile

Add

Once added, .bash_profile will look like

Method 3

If you need it done one time only, run following commands on command prompt.

Leave a Reply

Your email address will not be published. Required fields are marked *