nsxiv55da6fb
Updated doc
+125 −61
2 files changed
| @@ -81,48 +81,63 @@ sxiv supports the following command-line options: | |||
| 81 | 81 | -Z Same as `-z 100' | |
| 82 | 82 | -z ZOOM Scale all images to current zoom level, use ZOOM at startup | |
| 83 | 83 | ||
| 84 | − | The following key mappings are available; differences between image view and | |
| 85 | − | thumbnail mode are denoted via brackets: | |
| 84 | + | The following general key commands are available: | |
| 86 | 85 | ||
| 87 | 86 | q Quit sxiv | |
| 88 | − | Return Switch to thumbnail mode [open selected image] | |
| 87 | + | Return Switch to thumbnail mode / open selected image | |
| 89 | 88 | ||
| 90 | − | n,Space Go to the next image | |
| 91 | − | p,Backspace Go to the previous image | |
| 92 | − | g,G Go to [select] first/last image | |
| 93 | − | [,] Go 10 images backward/forward | |
| 89 | + | 0-9 Prefix the next command with a number (denoted via [count]) | |
| 90 | + | ||
| 91 | + | g Go to first image | |
| 92 | + | G Go to the last image, or image number [count] | |
| 93 | + | ||
| 94 | + | f Toggle fullscreen mode (requires an EWMH/NetWM compliant | |
| 95 | + | window manager) | |
| 96 | + | A Toggle visibility of alpha-channel, i.e. transparency | |
| 97 | + | ||
| 98 | + | r Reload image | |
| 99 | + | D Remove image from file list and go to next image | |
| 100 | + | ||
| 101 | + | ||
| 102 | + | The following additional key commands are available in *thumbnail mode*: | |
| 103 | + | ||
| 104 | + | h,j,k,l Move selection left/down/up/right | |
| 105 | + | ||
| 106 | + | The following additional key commands are available in *image mode*: | |
| 107 | + | ||
| 108 | + | n,Space Go [count] images forward | |
| 109 | + | p,Backspace Go [count] images backward | |
| 110 | + | [,] Go [count] * 10 images backward/forward | |
| 94 | 111 | ||
| 95 | 112 | Ctrl-n,p Go to the next/previous frame of a multi-frame image | |
| 96 | 113 | Ctrl-Space Play/pause animation of a multi-frame image | |
| 97 | 114 | ||
| 98 | − | +,= Zoom in | |
| 115 | + | + Zoom in | |
| 99 | 116 | - Zoom out | |
| 100 | − | 0 Set zoom level to 100% | |
| 117 | + | = Set zoom level to 100%, or [count]% | |
| 101 | 118 | w Fit image into window | |
| 102 | 119 | ||
| 103 | − | h,j,k,l Pan image [move selection] left/down/up/right | |
| 104 | − | (also with arrow keys) | |
| 120 | + | h,j,k,l Pan image 1/5 of window width/height or [count] pixels | |
| 121 | + | left/down/up/right (also with arrow keys) | |
| 105 | 122 | H,J,K,L Pan to left/bottom/top/right image edge | |
| 106 | 123 | Ctrl-h,j,k,l Pan image one window width/height left/down/up/right | |
| 107 | 124 | (also with Ctrl-arrow keys) | |
| 108 | 125 | ||
| 109 | 126 | <,> Rotate image (counter-)clockwise by 90 degrees | |
| 110 | 127 | ||
| 111 | − | W Resize window to fit image | |
| 112 | − | f Toggle fullscreen mode (requires an EWMH/NetWM compliant | |
| 113 | − | window manager) | |
| 128 | + | s Toggle slideshow | |
| 129 | + | Ctrl-'-' Decrease slideshow delay | |
| 130 | + | Ctrl-'+' Increase slideshow delay | |
| 131 | + | Ctrl-'=' Reset slideshow delay, or set it to [count] seconds | |
| 114 | 132 | ||
| 115 | 133 | a Toggle anti-aliasing | |
| 116 | − | A Toggle visibility of alpha-channel, i.e. transparency | |
| 117 | − | D Remove image from file list and go to [select] next image | |
| 118 | − | r Reload image | |
| 134 | + | W Resize window to fit image | |
| 119 | 135 | ||
| 120 | − | Additionally, the following mouse mappings are available: | |
| 136 | + | Additionally, the following mouse commands are available in *image mode*: | |
| 121 | 137 | ||
| 122 | 138 | Button1 Go to the next image | |
| 123 | − | [select image/open image if it is already selected] | |
| 124 | 139 | Button2 Drag image with mouse while keeping it pressed | |
| 125 | 140 | Button3 Go to the previous image | |
| 126 | − | Scroll Pan image up/down [scroll up/down one thumbnail row] | |
| 141 | + | Scroll Pan image up/down | |
| 127 | 142 | Shift+Scroll Pan image left/right | |
| 128 | 143 | Ctrl+Scroll Zoom in/out | |
| @@ -82,35 +82,74 @@ The same as `\-z 100'. | |||
| 82 | 82 | Scale all images to the current zoom level, use a zoom level of | |
| 83 | 83 | .I ZOOM | |
| 84 | 84 | at startup. | |
| 85 | − | .SH KEYBOARD COMMANDS | |
| 86 | − | The differences of the following key mappings between image view and thumbnail | |
| 87 | − | mode are denoted via brackets. | |
| 88 | − | .SS General | |
| 85 | + | .SH GENERAL KEYBOARD COMMANDS | |
| 86 | + | The following keyboard commands are available in both image and thumbnail mode: | |
| 89 | 87 | .TP | |
| 90 | 88 | .B q | |
| 91 | 89 | Quit sxiv. | |
| 92 | 90 | .TP | |
| 93 | 91 | .B Return | |
| 94 | − | Switch to thumbnail mode [open selected image]. | |
| 95 | − | .SS Navigate image list | |
| 96 | − | .TP | |
| 97 | − | .BR n ", " Space | |
| 98 | − | Go to the next image. | |
| 92 | + | Switch to thumbnail mode / open selected image in image mode. | |
| 99 | 93 | .TP | |
| 100 | − | .BR p ", " Backspace | |
| 101 | − | Go to the previous image. | |
| 94 | + | .BR 0 \- 9 | |
| 95 | + | Prefix the next command with a number (denoted via | |
| 96 | + | .IR count ). | |
| 102 | 97 | .TP | |
| 103 | 98 | .B g | |
| 104 | − | Go to [select] the first image. | |
| 99 | + | Go to the first image. | |
| 105 | 100 | .TP | |
| 106 | 101 | .B G | |
| 107 | − | Go to [select] the last image. | |
| 102 | + | Go to the last image, or image number | |
| 103 | + | .IR count . | |
| 104 | + | .TP | |
| 105 | + | .B f | |
| 106 | + | Toggle fullscreen mode. | |
| 107 | + | .TP | |
| 108 | + | .B A | |
| 109 | + | Toggle visibility of alpha-channel, i.e. image transparency. | |
| 110 | + | .TP | |
| 111 | + | .B r | |
| 112 | + | Reload image. | |
| 113 | + | .TP | |
| 114 | + | .B D | |
| 115 | + | Remove current image from file list and go to next image. | |
| 116 | + | .SH THUMBNAIL KEYBOARD COMMANDS | |
| 117 | + | The following keyboard commands are only available in thumbnail mode: | |
| 118 | + | .TP | |
| 119 | + | .BR h ", " Left | |
| 120 | + | Move selection left. | |
| 121 | + | .TP | |
| 122 | + | .BR j ", " Down | |
| 123 | + | Move selection down. | |
| 124 | + | .TP | |
| 125 | + | .BR k ", " Up | |
| 126 | + | Move selection up. | |
| 127 | + | .TP | |
| 128 | + | .BR l ", " Right | |
| 129 | + | Move selection right. | |
| 130 | + | .SH IMAGE KEYBOARD COMMANDS | |
| 131 | + | The following keyboard commands are only available in image mode: | |
| 132 | + | .SS Navigate image list | |
| 133 | + | .TP | |
| 134 | + | .BR n ", " Space | |
| 135 | + | Go | |
| 136 | + | .I count | |
| 137 | + | images forward. | |
| 138 | + | .TP | |
| 139 | + | .BR p ", " Backspace | |
| 140 | + | Go | |
| 141 | + | .I count | |
| 142 | + | images backward. | |
| 108 | 143 | .TP | |
| 109 | 144 | .B [ | |
| 110 | − | Go 10 images backward. | |
| 145 | + | Go | |
| 146 | + | .I count | |
| 147 | + | * 10 images backward. | |
| 111 | 148 | .TP | |
| 112 | 149 | .B ] | |
| 113 | − | Go 10 images forward. | |
| 150 | + | Go | |
| 151 | + | .I count | |
| 152 | + | * 10 images forward. | |
| 114 | 153 | .SS Handle multi-frame images | |
| 115 | 154 | .TP | |
| 116 | 155 | .B Ctrl-n | |
| @@ -123,30 +162,39 @@ Go to the previous frame of a multi-frame image. | |||
| 123 | 162 | Play/pause animation of a multi-frame image. | |
| 124 | 163 | .SS Zooming | |
| 125 | 164 | .TP | |
| 126 | − | .BR + ", " = | |
| 165 | + | .BR + | |
| 127 | 166 | Zoom in. | |
| 128 | 167 | .TP | |
| 129 | 168 | .B \- | |
| 130 | 169 | Zoom out. | |
| 131 | 170 | .TP | |
| 132 | − | .B 0 | |
| 133 | − | Set zoom level to 100%. | |
| 171 | + | .B = | |
| 172 | + | Set zoom level to 100%, or | |
| 173 | + | .IR count %. | |
| 134 | 174 | .TP | |
| 135 | 175 | .B w | |
| 136 | 176 | Set zoom level to fit image into window. | |
| 137 | − | .SS Panning/Moving | |
| 177 | + | .SS Panning | |
| 138 | 178 | .TP | |
| 139 | 179 | .BR h ", " Left | |
| 140 | − | Pan image [move selection] left. | |
| 180 | + | Pan image 1/5 of window width or | |
| 181 | + | .I count | |
| 182 | + | pixel left. | |
| 141 | 183 | .TP | |
| 142 | 184 | .BR j ", " Down | |
| 143 | − | Pan image [move selection] down. | |
| 185 | + | Pan image 1/5 of window height or | |
| 186 | + | .I count | |
| 187 | + | pixel down. | |
| 144 | 188 | .TP | |
| 145 | 189 | .BR k ", " Up | |
| 146 | − | Pan image [move selection] up. | |
| 190 | + | Pan image 1/5 of window height or | |
| 191 | + | .I count | |
| 192 | + | pixel up. | |
| 147 | 193 | .TP | |
| 148 | 194 | .BR l ", " Right | |
| 149 | − | Pan image [move selection] right. | |
| 195 | + | Pan image 1/5 of window width or | |
| 196 | + | .I count | |
| 197 | + | pixel right. | |
| 150 | 198 | .TP | |
| 151 | 199 | .B H | |
| 152 | 200 | Pan to left image edge. | |
| @@ -178,33 +226,34 @@ Rotate image counter-clockwise by 90 degrees. | |||
| 178 | 226 | .TP | |
| 179 | 227 | .B > | |
| 180 | 228 | Rotate image clockwise by 90 degrees. | |
| 181 | − | .SS Control window | |
| 229 | + | .SS Slideshow | |
| 182 | 230 | .TP | |
| 183 | − | .B W | |
| 184 | − | Resize window to fit image. | |
| 231 | + | .B s | |
| 232 | + | Toggle slideshow. | |
| 185 | 233 | .TP | |
| 186 | − | .B f | |
| 187 | − | Toggle fullscreen mode. | |
| 234 | + | .B Ctrl\-'\-' | |
| 235 | + | Decrease slideshow delay. | |
| 236 | + | .TP | |
| 237 | + | .B Ctrl-'+' | |
| 238 | + | Increase slideshow delay. | |
| 239 | + | .TP | |
| 240 | + | .B Ctrl-'=' | |
| 241 | + | Reset slideshow delay to default value, or set it to | |
| 242 | + | .I count | |
| 243 | + | seconds. | |
| 188 | 244 | .SS Miscellaneous | |
| 189 | 245 | .TP | |
| 190 | 246 | .B a | |
| 191 | 247 | Toggle anti-aliasing. | |
| 192 | 248 | .TP | |
| 193 | − | .B A | |
| 194 | − | Toggle visibility of alpha-channel, i.e. image transparency. | |
| 195 | − | .TP | |
| 196 | − | .B D | |
| 197 | − | Remove current [selected] image from file list and go to [select] next image. | |
| 198 | − | .TP | |
| 199 | − | .B r | |
| 200 | − | Reload image. | |
| 249 | + | .B W | |
| 250 | + | Resize window to fit image. | |
| 201 | 251 | .SH MOUSE COMMANDS | |
| 202 | − | The differences of the following mouse mappings between image view and | |
| 203 | − | thumbnail mode are denoted via brackets. | |
| 252 | + | The following mouse mappings are available in image mode: | |
| 204 | 253 | .SS Navigate image list | |
| 205 | 254 | .TP | |
| 206 | 255 | .B Button1 | |
| 207 | − | Go to [select/open] next image. | |
| 256 | + | Go to next image. | |
| 208 | 257 | .TP | |
| 209 | 258 | .B Button3 | |
| 210 | 259 | Go to the previous image. | |
| @@ -221,10 +270,10 @@ Zoom out. | |||
| 221 | 270 | Drag the image with the mouse while keeping this button pressed down. | |
| 222 | 271 | .TP | |
| 223 | 272 | .B ScrollUp | |
| 224 | − | Pan image up [scroll up one thumbnail row]. | |
| 273 | + | Pan image up. | |
| 225 | 274 | .TP | |
| 226 | 275 | .B ScrollDown | |
| 227 | − | Pan image down [scroll down one thumbnail row]. | |
| 276 | + | Pan image down. | |
| 228 | 277 | .TP | |
| 229 | 278 | .B Shift+ScrollUp | |
| 230 | 279 | Pan image left. | |