A pager with explicit (un)wrap-long-lines key bindings and/or options

Nikos Vassiliadis nvass at gmx.com
Wed Dec 17 12:24:38 UTC 2014



On 12/17/14 13:09, parv at pair.com wrote:
> Hi there,

Hi,

> I am looking for a pager that has EXPLICIT options and/or key bindings
> (preferred) to set & unset wrapping of long lines[0]. I really don't
> want to deal with environment variables which may or may not be set.
> Options|Key bindings should override any environment variable or
> settings in a configuration file.
>
> Environment variable, LESS, is set to "-SsIXR -x4"[1]. less has only a
> option to now wrap long lines (-S | --chop-long-lines). Listed in the
> manual page is that default is not to wrap. (Well, invoking less as
> "\less" does not override the "-S" in LESS.)

While less is running, you can switch from chop to fold and reversely by 
pressing -S. Is this what you want?



More information about the freebsd-questions mailing list