Reset visual and editor to use Vim

  • Post author:
  • Post category:CLI


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.


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