Re: nano vs VI
01.01.2014 15:09, Andreas Rönnquist:
> On Wed, 01 Jan 2014 08:59:24 -0500,
> Paul Cartwright<pbcartwright@gmail.com> wrote:
>
>> ok, so I have a wheezy setup. When I do a crontab -e to EDIT my
>> crontab, it brings up a nano session. I'm a VI kind guy, how do I
>> change that so VI comes up??
>>
>
> It gets the editor from the EDITOR environment variable - to change to
> vi, do something like
>
> export EDITOR=vi
>
> - too keep this you can for example do it in your .bashrc.
... and if you rather want to change the system default, do
update-alternatives --config editor
as root.
P.S.: Sorry Andeas for the PM. Shouldn't have happened, but the brain
controlling my fingers seems to be still stuck in 2013...
--
Regards
mks
Reply to:
- References:
- nano vs VI
- From: Paul Cartwright <pbcartwright@gmail.com>
- Re: nano vs VI
- From: Andreas Rönnquist <mailinglists@gusnan.se>