summaryrefslogtreecommitdiff
path: root/lesskey
blob: 6713654f107bdea01f2499feeb2e1b799d2d8009 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# -*- mode: conf-space  -*-
# No compilation is necessary any more in recent less versions.

#command
{   prev-file
}   next-file
N   reverse-search
n   repeat-search
^h  back-screen

#env
LESS=--ignore-case --quit-if-one-screen --save-marks --no-histdups --RAW-CONTROL-CHARS --LONG-PROMPT --chop-long-lines --status-column --HILITE-UNREAD
LESSOPEN=|src-hilite-lesspipe.sh %s
LESSHISTFILE=$XDG_DATA_HOME/less/history
LESSHISTSIZE=10000
# *? setting is shared between LESS{,UTF}BINFMT, with the latter's setting taking priority
LESSBINFMT=*k%02X
LESSUTFBINFMT=U+%04lX
# Use pretty colours for bold/underline/... -- mostly in `man'
# https://wiki.archlinux.org/index.php/Color_output_in_console#less
# Note: these values are verbatim as less doesn't support escaping
# characters in lesskey (I think).
# blink -> italic white-on-red
LESS_TERMCAP_mb=
# bold -> bold blue
LESS_TERMCAP_md=
LESS_TERMCAP_me=
# reverse video -> reverse, bright yellow background
LESS_TERMCAP_so=
LESS_TERMCAP_se=
# underline -> italic green
LESS_TERMCAP_us=
LESS_TERMCAP_ue=