Re: nano vs VI
On 02/01/14 04:20, Markus Schönhaber wrote:
> 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.
Also perhaps:
aptitude purge nano :-)
Richard
Reply to:
- References:
- nano vs VI
- From: Paul Cartwright <pbcartwright@gmail.com>
- Re: nano vs VI
- From: Andreas Rönnquist <mailinglists@gusnan.se>
- Re: nano vs VI
- From: Markus Schönhaber <debian-user@list-post.mks-mail.de>