05-18-07 12:14 AM
On Thu, 17 May 2007 15:14:35 +0000, Tim Johnson wrote:
> Hello:
>
> I'm using kubuntu 7.04. My background is slack and redhat and I have a
> preference for command lines, vim and midnight commander. Let my
> previous platforms, I would like vim to the default editor for Midnight
> Commander.
>
> On my other systems, for both the user and root .bashrc, I include the
> following lines:
> export EDITOR=vim
> then I uncheck the "Use Internal Edit" and "Use Internal Viewer" items
> under Options->Configuration, save and all is good.
>
> However, on this ubuntu, the same actions result in *nano* being
> started.
>
> Can anyone advise me how to enable vim on this machine? thanks
I don't use mc, but maybe Ubuntu has modified it to use its alternatives
system. You can reconfigure your default editor using:
update-alternatives --config editor
HTH
Björn
[ Post a follow-up to this message ]
|