aboutsummaryrefslogtreecommitdiff
path: root/doc/im.1.scd
diff options
context:
space:
mode:
Diffstat (limited to 'doc/im.1.scd')
-rw-r--r--doc/im.1.scd67
1 files changed, 67 insertions, 0 deletions
diff --git a/doc/im.1.scd b/doc/im.1.scd
new file mode 100644
index 0000000..ec64aa9
--- /dev/null
+++ b/doc/im.1.scd
@@ -0,0 +1,67 @@
+im(1)
+
+# NAME
+
+im - a simple image viewer
+
+# SYNOPSIS
+
+*im* _filename_
+
+# DESCRIPTION
+
+im is a image viewer written in GTK+. It can open any image file
+supported by GdkPixbuf library, use *-f* flag to print the list of image
+formats supported by GdkPixbuf.
+
+
+# MODES
+
+im supports two image display modes, *Fit* and *Zoom*.
+
+
+The default mode *Fit* will resize the image to fit inside the current window
+while maintaining the aspect ratio.
+
+
+Zoom mode let's you zoom and pan (scroll) the zoomed-in image.
+
+# KEY BINDINGS
+
+im has separate key bindings for both *Fit* and *Zoom* mode.
+
+## FIT MODE
+
+ *j*, *l*, *n*, *<Down>*, *<Right>* Next image
+
+ *k*, *h*, *p*, *<Up>*, *<Left>* Previous image
+
+## ZOOM MODE
+
+ *j*, *<Down>* Scroll down
+
+ *k*, *<Up>* Scroll up
+
+ *h*, *<Left>* Scroll left
+
+ *l*, *<Right>* Scroll right
+
+ *J*, *L*, *<S-Down>*, *<S-Right>* Next image
+
+ *K*, *H*, *<S-Up>*, *<S-Left>* Previous image
+
+## ANY MODE
+
+ *+*, *<C-ScrollWheelUp>* Zoom-in by 10% and switch to *Zoom* mode
+
+ *-*, *<C-ScrollWheelDown>* Zoom-out by 10% and switch to *Zoom* mode
+
+ *=* Reset zoom to 100% and switch to *Zoom* mode
+
+ *w* Switch to *Fit* mode
+
+ *q* Quit
+
+# SEE ALSO
+
+*sxiv*(1), *feh*(1)