Reset visual and editor to use Vim

  • Post author:
  • Post category:CLI

Hi,

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;

EDITOR=vim;
export EDITOR
VISUAL=vim;
export VISUAL=vim

and done…

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

g33kadmin

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