Visudo invokes GNU nano rather than vi
Dick Davies
rasputnik at gmail.com
Thu Jan 12 15:23:33 UTC 2006
On 12/01/06, Julio Biason <julio.biason at gmail.com> wrote:
> On 12/01/06, Dick Davies <rasputnik at gmail.com> wrote:
> > I'd guess that you'll find /etc/alternatives/editor is a symlink to /bin/nano.
> >
> > Try
> >
> > sudo update-alternatives --set editor /usr/bin/vim
>
> Or maybe edit ~/,bashrc and add, at the end
>
> export EDITOR=vim
that only works if you use bash.
--
Rasputin :: Jack of All Trades - Master of Nuns
http://number9.hellooperator.net/
More information about the ubuntu-users
mailing list