aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Stosberg <mark@rideamigos.com>2020-11-23 13:52:34 -0500
committerHarry Jeffery <harry@exec64.co.uk>2020-12-03 01:19:58 +0000
commitdf51acbf15c420a0176e7bc88eb6cbede057e1df (patch)
tree50a7f927caba1be9979cb5f42fbc7949e5e395a3
parent91e06fff2d6f15b9d69838e513b9025985f58b57 (diff)
downloadimv-df51acbf15c420a0176e7bc88eb6cbede057e1df.tar.gz
Add default keybinding for image rotation
This is the same key binding used by Eye of Gnome for a 90 degree clockwise image rotation for people coming from that image viewer.
-rw-r--r--doc/imv.1.txt3
-rw-r--r--files/imv_config3
2 files changed, 6 insertions, 0 deletions
diff --git a/doc/imv.1.txt b/doc/imv.1.txt
index 09e2da9..7c4af97 100644
--- a/doc/imv.1.txt
+++ b/doc/imv.1.txt
@@ -222,6 +222,9 @@ imv comes with several binds configured by default
*-*::
Zoom out
+*Ctrl+r*::
+ Rotate clockwise by 90 degrees
+
*c*::
Center image
diff --git a/files/imv_config b/files/imv_config
index 5d69af1..550a4d3 100644
--- a/files/imv_config
+++ b/files/imv_config
@@ -38,6 +38,9 @@ i = zoom 1
<minus> = zoom -1
o = zoom -1
+# Rotate Clockwise by 90 degrees
+<Ctrl+r> = rotate by 90
+
# Other commands
x = close
f = fullscreen