~tardypad/dotfiles

ref: 7dd5e02494e2821ff6b4fd5758a590ef03b5403b dotfiles/packages/less/lesskey -rw-r--r-- 1.6 KiB
7dd5e024 — Damien Tardy-Panis add mako package config 3 years ago
                                                                                
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
#command

# general
q       quit
:q      quit
\eh     help
:h      help
^L      repaint
0       digit
1       digit
2       digit
3       digit
4       digit
5       digit
6       digit
7       digit
8       digit
9       digit
-       toggle-option
_       display-option
|       pipe
!       shell
+       firstcmd
v       visual
s       toggle-option o
=       status
\ef     forw-forever

# navigation
j       forw-line
^E      forw-line
k       back-line
^Y      back-line
h       left-scroll
l       right-scroll
^D      forw-scroll
^U      back-scroll
^F      forw-window
^B      back-window
g       goto-line
G       goto-end
%       percent
m       set-mark
'       goto-mark

# search
/       forw-search
?       back-search
n       repeat-search
N       reverse-search
\en     repeat-search-all
\eN     reverse-search-all
&       filter
\n      undo-hilite

# files
^n      next-file
:n      next-file
^p      prev-file
:p      prev-file
:e      examine
:d      remove-file
:1      index-file

# next line prevents less from defining default command keybindings
#stop


#line-edit

\kr     right
\el     right
\kl     left
\eh     left
^B      home
^E      end
\eb     word-left
\eB     word-left
\ew     word-right
\eW     word-right
\ee     word-right
\eE     word-right
\ex     delete
\kx     delete
\ed     word-delete
\eD     word-delete
^W      word-backspace
\ku     up
^P      up
\kd     down
^N      down
\t      forw-complete

# next line prevents less from defining default line-edit keybindings
#stop


#env

# pre/post processors with lesspipe
LESSOPEN = | lesspipe.sh %s
LESSCLOSE = lesspipe.sh %s %s