-
Notifications
You must be signed in to change notification settings - Fork 0
/
.lesskey
31 lines (28 loc) · 819 Bytes
/
.lesskey
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
# vim:ft=sh
# shellcheck disable=SC1001
#env
# -i/--ignore-case: case-insensitive searching
# -s/--squeeze-blank-lines: combine consecutive blank lines
# -F/--quit-if-one-screen: don't page shorter files
# -Q/--QUIET: never ring the terminal bell
# -R/--RAW-CONTROL-CHARS: output raw ANSI (e.g. \e[1;31m)
# -X/--no-init: don't clear screen on exit (breaks mouse scrolling)
LESS=-isFQRX
LESSCHARSET=utf-8
LESSHISTFILE=/dev/null
# reset all modes
LESS_TERMEND=\e\(B\e[m
# begin "blink"
LESS_TERMCAP_mb=\e[35m
# begin "bold" (man page headers)
LESS_TERMCAP_md=\e[32m
# end attributes
LESS_TERMCAP_me=\e\(B\e[m
# begin "standout" (search results)
LESS_TERMCAP_so=\e[1;4m
# end standout
LESS_TERMCAP_se=\e\(B\e[m
# begin "underline" (man page variables)
LESS_TERMCAP_us=\e[4;33m
# end underline
LESS_TERMCAP_ue=\e\(B\e[m