forked from ghennequin/llpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathKEYS
185 lines (163 loc) · 7.81 KB
/
KEYS
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
-----Quitting-----
escape/q - quit
Q - quit without saving the configuration or changes
W - save changes
-----Movement-----
up/down arrow - scroll up/down
j/k - scroll up/down
left/right arrow - pan left/right (when zoomed in)
Ctrl-arrows - scroll up/down, pan left/right (by half a screen width/height)
space - go to the next page
delete - go to the previous page
pageup/pagedown - go forward/backward one screen-full
g, G - go to first/last page
home/end - go to first/last page
-----Advanced Movement / History-----
backspace - go back after jumping (clicking link and suchlike) [1]
Alt-left/right arrow - go backward/forward in history
0..9 - enter page number to jump to
t - align top of the screen with the top of the page
<,> - rotate
Ctrl-pageup/pagedown - align top of the screen with first/last visible page
F - go to hinted link
a - autoscroll
if auto scrolling is active:
up/down arrows and mouse buttons 3/4 will make scrolling go faster/slower
-----Mouse-----
primary mouse button[2] - click on link or select text[3]
when shift is held - execute "synctex command" with coordinates of the point [4]
when control is held - pan
zoom to block - when in block zoom mode
otherwise - pan if there's no text/link under the cursor
mouse buttons 3/4 - scroll up/down (aka mouse wheel)
when control is held - zoom
mouse buttons 5/6 - pan left/right (aka horizontal mouse wheel)
other mouse button[2] - select rectangle to zoom to
when shift is held - add text annotation
Note:
moving mouse while holding primary mouse button will pan the page,
if the mouse is over selectable element (text/link) holding control
will make the page pan instead of the default action (selecting text/
clicking link)
-----Bookmarks-----
m - create named bookmark
~ - create quick bookmark
-----Zoom-----
control + shift up/down - set previous zoom level
B - toggle zoom block mode
w - change height of the window to encompass all of the page
Alt-c - center view
Ctrl-+/Ctrl-= - zoom in
Ctrl-- - zoom out
Ctrl-0 - reset zoom and panning
Ctrl-1 - fit tallest page
Ctrl-2 - fit tallest page height exactly
Ctrl-3 - cycle fit models
Ctrl-4 - 1:1 zoom
Ctrl-9/F9 - enter bird's eye view
-----Actions-----
u - dehighlight
r - reload document [5]
y - select link and paste its description to the clipboard
| - pipe selection through specified command
x - run pax command on selected region
Ctrl-p - launch a command with the document path as an argument
return - (in link navigation mode) follow link
= - show current position
e - view error log
z - crop
-----Search-----
/,? - enter text to search for (/ - forward, ? - backward)
n - repeat last search (forward)
p, N - repeat last search (backward)
Ctrl-g - interrupt search
-----Settings / Modes-----
[,] - decrease/increase page brightness
+ - set page bias
- - toggle/set tunable
b - toggle scroll bar
l - toggle highlighting of the links
f - toggle fullscreen
insert - toggle link navigation mode
o - switch to outline/table of contents mode
' - switch to bookmark mode
H - switch to history mode
h,F1 - switch to help mode
i - switch to info mode
P - switch to "presentation" mode
c - switch to previous column layout
-----Tunables-----
-i - toggle case sensitivity of searches
-s<number> - set scroll step (pixels)
-S<number> - set space between pages (pixels)
-c - toggle crop hack
-a - toggle throttled scrolling
-R<number> - rotate
-p - toggle preloading
-v - toggle verbosity
-P - toggle persistent bookmarks
-h - toggle maxfit
-l - toggle proportional display
-Z<number> - set zoom (percent)
-A<number> - set auto scroll step (pixels)
-t<number> - set thumbnail width (pixels)
-T - toggle trimming of margins
-I - invert colors
-M - toggle pax mode
-C<number> - set column count
-x<string> - set command to run on selection
-f - toggle "what's under cursor" identification
- (or "what's currently selected" in link navigation mode)
- (font name of the text under cursor or link target)
-----Bird's eye mode-----
Ctrl-9,F9,esc - leave bird's eye view
Ctrl-l - center the view on the currently selected page
(page)up/(page)down - navigate
home/end - go to first/last page
enter - select the page and leave bird's eye mode
1st mouse button - select the page under cursor and leave bird's eye mode
-----Outline/bookmark/help/info/history mode-----
esc - leave outline/bookmark mode
up/down - select previous/next item
alpha-numeric - quick search
Ctrl-s - repeat search (forward)
Ctrl-r - repeat search (backward)
Ctrl-l - center on current item
Ctrl-left/right - pan text left/right
Ctrl-up/down - scroll view up/down
Ctrl-insert - copy active item's text to clipboard
-----Outline/history mode-----
left/right - go up/down a level
Ctrl-a - toggle auto narrowing
/ - enter auto narrowing
tab - begin nested narrowing
Ctrl-n - narrow to search pattern
Ctrl-u - undo narrowing
Ctrl-S - synchronize
-----Info mode-----
enter - toggle/enter new value for selected parameter
-----When entering search pattern/page number-----
up/down arrow - previous/next entered text
enter - confirm
Ctrl-g,esc - cancel
double/triple/quadruple/... clicks in view mode will pipe the
word/line/block/page through pax command when control is held
and selection command otherwise
[1] if the document was previously visited initial backspace will
jump to the last visited place
[2] i'm somewhat mouse button confused, since i use "left handed" mouse
while not being left handed
[3] text selection requires
X11 - xsel http://www.vergenet.net/~conrad/software/xsel/
⋯ - xclip https://github.com/astrand/xclip
Windows - wsel http://repo.or.cz/w/llpp.git/blob/master:/wsel.c
OS X - pbcopy ships with the system
[4] arguments to the command are:
1 = path to the document
2 = zero based page number
3 = X coordinate within the page
4 = Y ..........................
[5] document will also be reloaded upon reception of the HUP signal
-----Caveat emptor-----
o Selection can not cross page boundaries
o Text searching is very naive