summaryrefslogtreecommitdiffstats
path: root/sxiv.1
diff options
context:
space:
mode:
authorBert Münnich <ber.t@posteo.de>2017-10-05 13:53:29 +0200
committerBert Münnich <ber.t@posteo.de>2017-10-06 10:15:43 +0200
commit8081cbebf36e48297a589af02db400687c4ef261 (patch)
tree9740972bf4c7684fe80acc291915f2a3aa8060d5 /sxiv.1
parentee908ca0a197ac579ab8abc5695c9ce421a96a21 (diff)
downloadnsxiv-8081cbebf36e48297a589af02db400687c4ef261.tar.zst
Improve mouse support
None of the mouse mappings uses a keyboard modifier, making it possible to access the most basic features by only using the mouse. Next/previous image with left button depending on cursor position, middle button for dragging, right button for switching to thumnail mode and wheel for zooming. Users can keep the old behaviour by simply not adapting the changes to the buttons array in config.def.h to their config.h file.
Diffstat (limited to 'sxiv.1')
-rw-r--r--sxiv.128
1 files changed, 9 insertions, 19 deletions
diff --git a/sxiv.1 b/sxiv.1
index bf738f8..e8cb04a 100644
--- a/sxiv.1
+++ b/sxiv.1
@@ -348,37 +348,27 @@ seconds.
.SH MOUSE COMMANDS
The following mouse mappings are available in image mode:
.TP
+General:
+.TP
+.B Button3
Navigate image list:
.TP
.B Button1
-Go to next image.
-.TP
-.B Button3
-Go to the previous image.
+Go to the next image if the mouse cursor is in the right part of the window or
+to the previous image if it is in the left part.
.TP
Panning:
.TP
.B Button2
-Drag the image with the mouse while keeping this button pressed down.
-.TP
-.B ScrollUp
-Scroll image up.
-.TP
-.B ScrollDown
-Scroll image down.
-.TP
-.B Shift+ScrollUp
-Scroll image left.
-.TP
-.B Shift+ScrollDown
-Scroll image right.
+Pan the image according to the mouse cursor position in the window while
+keeping this button pressed down.
.TP
Zooming:
.TP
-.B Ctrl+ScrollUp
+.B ScrollUp
Zoom in.
.TP
-.B Ctrl+ScrollDown
+.B ScrollDown
Zoom out.
.SH STATUS BAR
The information displayed on the left side of the status bar can be replaced