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