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

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



Benedek Frank <linux@celifornia.com> writes:

> Why less wont use vi as it's editor anymore?

Hi,

From man less:

-----------------8<--------------
v Invokes an editor to edit the current file being 
viewed.  The editor is taken from the environment 
variable VISUAL if defined, or EDITOR if VISUAL 
is notdefined, or defaults to "vi" if neither 
VISUAL nor EDITOR is defined.
-----------------8<--------------

So make sure, that $VISUAL and $EDITOR are unset or set to the editor,
you like.

HTH,

-- 
Andre Schmidt <andre1969@gmx.de>
---------------------------------------

Attachment: pgp9kb7BOATIc.pgp
Description: PGP signature


Reply to: