Reset visual and editor to use Vim


I ran across a small issue where the client wanted to use vim as the default editor for crontab as opposed to pico. I was able to modify this by using the following commands;

export EDITOR
export VISUAL=vim

and done…

Now, when editing crontab, it uses vim. Simple.

Was this post helpful?

Author: g33kadmin

I am a g33k, Linux blogger, developer, student and Tech Writer for My passion for all things tech drives my hunt for all the coolz. I often need a vacation after I get back from vacation....