[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: LESS for reading, and VI for editing, but not working anymore



On Fri, 2005-07-01 at 14:32 +0200, Benedek Frank wrote:
> > Check your VISUAL and EDITOR environment variables.
> 
> Hi. Could you walk me through it please? I am not very comfortable with
> checking those variables, as I dont know how to. THanks.
> 
> Benedek


It depends on on your shell, I'll assume bash (it's the default in
debian if I'm not misstaken)

Check the EDITOR variable:
echo $EDITOR

Set it:
export EDITOR=vi

If you want to make it permanent add
export EDITOR=vi
to your ~/.bashrc

Here is a link to get started:
http://www.debian.org/doc/manuals/debian-tutorial/index.html


/Sebastian



Reply to: