Re: How to set vim as default editor
Mark wrote:
>
> For some reason after installing and reinstalling vim, ae still remains
> the default editor.
>
> when I look in /etc/alternatives I see:
> lrwxrwxrwx 1 root root 7 Apr 30 23:12 editor ->
> Is there some debian specific setup script that maintains these links?
> I know I can just manually change them to point to vim, but I want to
> run the proper program that does it so I know for future reference.
this (as root) will let you choose your favorite editor:
update-alternatives --config editor
of course, man update alternatives and the debian policies will tell you
much more!
hope it helps.
pietro.
Reply to: