aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md3
-rw-r--r--sxiv.19
2 files changed, 12 insertions, 0 deletions
diff --git a/README.md b/README.md
index 3c2d403..9677dbd 100644
--- a/README.md
+++ b/README.md
@@ -53,8 +53,11 @@ Use the following keys to control sxiv:
[/] Go 10 images backward/forward
+,= Zoom in
- Zoom out
+ 0 Set zoom level to 100%
+ w Fit image into window
h,j,k,l Pan image left/down/up/right (also with arrow keys)
<,> Rotate image (counter-)clockwise by 90 degrees
+ W Resize window to fit image
f Toggle fullscreen mode (requires an EWMH/NetWM compliant
window manager)
a Toggle anti-aliasing
diff --git a/sxiv.1 b/sxiv.1
index 56173ba..31574b6 100644
--- a/sxiv.1
+++ b/sxiv.1
@@ -91,6 +91,12 @@ Zoom in.
.TP
.B \-
Zoom out.
+.TP
+.B 0
+Set zoom level to 100%.
+.TP
+.B w
+Set zoom level to fit image into window.
.SS Panning
.TP
.BR h ", " Left
@@ -113,6 +119,9 @@ Rotate image counter-clockwise by 90 degrees.
Rotate image clockwise by 90 degrees.
.SS Control window
.TP
+.B W
+Resize window to fit image.
+.TP
.B f
Toggle fullscreen mode.
.SS Miscellaneous