Quoting
[llpp.git] / KEYS
bloba40cb2451a4b82a8f97072e6e26edc17cfb5dfb4
1 -----Quitting-----
2 escape/q                - quit
3 Q                       - quit without saving the configuration or changes
4 W                       - save changes
6 -----Movement-----
7 up/down arrow           - scroll up/down
8 j/k                     - scroll up/down
9 left/right arrow        - pan left/right (when zoomed in)
10 Ctrl-arrows             - scroll up/down, pan left/right (by half a screen width/height)
11 space                   - go to the next page
12 delete                  - go to the previous page
13 pageup/pagedown         - go forward/backward one screen-full
14 g, G                    - go to first/last page
15 home/end                - go to first/last page
17 -----Advanced Movement / History-----
18 backspace               - go back after jumping (clicking link and suchlike) [1]
19 Alt-left/right arrow    - go backward/forward in history
20 0..9                    - enter page number to jump to
21 t                       - align top of the screen with the top of the page
22 <,>                     - rotate
23 Ctrl-pageup/pagedown    - align top of the screen with first/last visible page
24 F                       - go to hinted link
25 a                       - autoscroll
26 if auto scrolling is active:
27     up/down arrows and mouse buttons 3/4 will make scrolling go faster/slower
29 -----Mouse-----
30 primary mouse button[2] - click on link or select text[3]
31   when shift is held    - execute "synctex command" with coordinates of the point [4]
32   when control is held  - pan
33   zoom to block         - when in block zoom mode
34   otherwise             - pan if there's no text/link under the cursor
35 mouse buttons 3/4       - scroll up/down (aka mouse wheel)
36   when control is held  - zoom
37 mouse buttons 5/6       - pan left/right (aka horizontal mouse wheel)
38 other mouse button[2]   - select rectangle to zoom to
39   when shift is held    - add text annotation
41 Note:
42   moving mouse while holding primary mouse button will pan the page,
43   if the mouse is over selectable element (text/link) holding control
44   will make the page pan instead of the default action (selecting text/
45   clicking link)
47 -----Bookmarks-----
48 m                       - create named bookmark
49 ~                       - create quick bookmark
51 -----Zoom-----
52 control + shift up/down - set previous zoom level
53 B                       - toggle zoom block mode
54 w                       - change height of the window to encompass all of the page
55 Alt-c                   - center view
56 Ctrl-+/Ctrl-=           - zoom in
57 Ctrl--                  - zoom out
58 Ctrl-0                  - reset zoom and panning
59 Ctrl-1                  - fit tallest page
60 Ctrl-2                  - fit tallest page height exactly
61 Ctrl-3                  - cycle fit models
62 Ctrl-4                  - 1:1 zoom
63 Ctrl-9/F9               - enter bird's eye view
65 -----Actions-----
66 u                       - dehighlight
67 r                       - reload document [5]
68 y                       - select link and paste its description to the clipboard
69 |                       - pipe selection through specified command
70 x                       - run pax command on selected region
71 Ctrl-p                  - launch a command with the document path as an argument
72 return                  - (in link navigation mode) follow link
73 =                       - show current position
74 e                       - view error log
75 z                       - crop
77 -----Search-----
78 /,?                     - enter text to search for (/ - forward, ? - backward)
79 n                       - repeat last search (forward)
80 p, N                    - repeat last search (backward)
81 Ctrl-g                  - interrupt search
82 u                       - dehighlight
84 -----Settings / Modes-----
85 [,]                     - decrease/increase page brightness
86 +                       - set page bias
87 -                       - toggle/set tunable
88 b                       - toggle scroll bar
89 l                       - toggle highlighting of the links
90 f                       - toggle fullscreen
91 insert                  - toggle link navigation mode
92 o                       - switch to outline/table of contents mode
93 '                       - switch to bookmark mode
94 H                       - switch to history mode
95 h,F1                    - switch to help mode
96 i                       - switch to info mode
97 P                       - switch to "presentation" mode
98 c                       - switch to previous column layout
100 -----Tunables-----
101 -i                      - toggle case sensitivity of searches
102 -s<number>              - set scroll step (pixels)
103 -S<number>              - set space between pages (pixels)
104 -c                      - toggle crop hack
105 -a                      - toggle throttled scrolling
106 -R<number>              - rotate
107 -p                      - toggle preloading
108 -v                      - toggle verbosity
109 -P                      - toggle persistent bookmarks
110 -h                      - toggle maxfit
111 -l                      - toggle proportional display
112 -Z<number>              - set zoom (percent)
113 -A<number>              - set auto scroll step (pixels)
114 -t<number>              - set thumbnail width (pixels)
115 -T                      - toggle trimming of margins
116 -I                      - invert colors
117 -M                      - toggle pax mode
118 -C<number>              - set column count
119 -x<string>              - set command to run on selection
120 -f                      - toggle "what's under cursor" identification
121                         - (or "what's currently selected" in link navigation mode)
122                         -     (font name of the text under cursor or link target)
124 -----Bird's eye mode-----
125 Ctrl-9,F9,esc           - leave bird's eye view
126 Ctrl-l                  - center the view on the currently selected page
127 (page)up/(page)down     - navigate
128 home/end                - go to first/last page
129 enter                   - select the page and leave bird's eye mode
130 1st mouse button        - select the page under cursor and leave bird's eye mode
132 -----Outline/bookmark/help/info/history mode-----
133 esc                     - leave outline/bookmark mode
134 up/down                 - select previous/next item
135 alpha-numeric           - quick search
136 Ctrl-s                  - repeat search (forward)
137 Ctrl-r                  - repeat search (backward)
138 Ctrl-l                  - center on current item
139 Ctrl-left/right         - pan text left/right
140 Ctrl-up/down            - scroll view up/down
141 Ctrl-insert             - copy active item's text to clipboard
143 -----Outline/history mode-----
144 left/right              - go up/down a level
145 Ctrl-a                  - toggle auto narrowing
146 /                       - enter auto narrowing
147 tab                     - begin nested narrowing
148 Ctrl-n                  - narrow to search pattern
149 Ctrl-u                  - undo narrowing
150 Ctrl-S                  - synchronize
152 -----Info mode-----
153 enter                   - toggle/enter new value for selected parameter
155 -----When entering search pattern/page number-----
156 up/down arrow           - previous/next entered text
157 enter                   - confirm
158 Ctrl-g,esc              - cancel
160 double/triple/quadruple/... clicks in view mode will pipe the
161 word/line/block/page through pax command when control is held
162 and selection command otherwise
164 [1] if the document was previously visited initial backspace will
165     jump to the last visited place
167 [2] i'm somewhat mouse button confused, since i use "left handed" mouse
168     while not being left handed
170 [3] text selection requires
171     X11     - xsel http://www.vergenet.net/~conrad/software/xsel/
172     ⋯       - xclip https://github.com/astrand/xclip
173     Windows - wsel http://repo.or.cz/w/llpp.git/blob/master:/wsel.c
174     OS X    - pbcopy ships with the system
176 [4] arguments to the command are:
177     1 = path to the document
178     2 = zero based page number
179     3 = X coordinate within the page
180     4 = Y ..........................
182 [5] document will also be reloaded upon reception of the HUP signal
184 -----Caveat emptor-----
185 o Selection can not cross page boundaries
186 o Text searching is very naive