-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlesskey
More file actions
72 lines (59 loc) · 1.22 KB
/
Copy pathlesskey
File metadata and controls
72 lines (59 loc) · 1.22 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# http://man7.org/linux/man-pages/man1/lesskey.1.html
#command
# disabled back-line
y noaction
^Y noaction
Y noaction
^P noaction
# disabled forw-line
\r noaction
\n noaction
j noaction
e noaction
^E noaction
^N noaction
# disabled forw-screen
f noaction
^F noaction
\40 noaction
^V noaction
\e\40 noaction
# disabled back-screen
b noaction
^B noaction
\ev noaction
# disabled forw-window back-window
z noaction
w noaction
# TODO turn off more things that I won't use.
^Q quit
^F forw-search
\kU back-scroll
\kD forw-scroll
# iokl
j back-line
J back-line-force
^J back-scroll
\40 forw-line
^\40 forw-scroll
i back-screen
o forw-screen
k left-scroll
l right-scroll
#env
# this below line solves jank boundary scrolling.
LESS_TERMCAP_vb=
# TODO this isn't working. why? it works on version 643, but not on 590?
# less command behaviour:
# +X : enable startup termcap
# -F : print to console if 1 page
# -q : medium-quiet
# -R : interpret escape-sequences
# -J : show status-column
# -N : show line numbers (off)
# -M : use long prompt
# -i : ignore case in searches that are lowercase
# -x3: use <N> as tabstop
# -#6: use <N> as the horizontal scroll amount
# -S : chop long lines
LESS=-+X -F -qRJMi -x3 --shift=6 -S --use-color