All tools/less

less

less

Less is a free, open-source file pager.

Detected by less, lesskey | macOS, Linux, Windows |www.greenwoodsoftware.com

Sync rules

What travels, what stays, what never leaves
less in your home directory Every rule on this page, by file
#env
LESS = -R --mouse --incsearch --status-column
LESSOPEN = |/opt/homebrew/bin/lesspipe.sh %smachine-local
LESSCLOSE = /opt/homebrew/bin/lessclose.sh %s %smachine-local
LESSCHARSET = utf-8

Each machine keeps its own copy of these.

#env
LESS = -R --mouse
LESSOPEN = |C:\Program Files\lesspipe\lesspipe.bat %smachine-local
LESSCLOSE = C:\Program Files\lesspipe\lessclose.bat %s %smachine-local

Each machine keeps its own copy of these.

· ~/.lesshst Exclude
· ~/.local/state/lesshst Exclude
· ~/.less Exclude
LESSOPENLESSCLOSE

Each machine keeps its own copy of these.

Only what the catalog names. A directory that syncs brings everything inside it except what is listed as excluded here.

Use it with your dotfile manager

Same data, in the shape your tool already reads
Opens Otty and adds this tool to what it syncs

Opens otty://sync/add/less. Otty ships with this catalog, so the link only has to name the tool — nothing is downloaded.

Every one of these is generated from the same rules as this page. None of them splits LESSOPEN and LESSCLOSE for you — that part is Otty’s own sync, or a template you write by hand.