summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2023-04-08 03:43:30 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2023-04-08 03:43:30 +0530
commitfc2884ecd745724c984717687828210d9f1efaae (patch)
tree6963cfacd55c7d253b98ec6476959582eb94df78
parentd39ac806a84df1e2a338163a10e0bda2fc73ec83 (diff)
.config: imv config
-rw-r--r--.config/imv/config43
1 files changed, 43 insertions, 0 deletions
diff --git a/.config/imv/config b/.config/imv/config
new file mode 100644
index 0000000..8e0b97e
--- /dev/null
+++ b/.config/imv/config
@@ -0,0 +1,43 @@
+[binds]
+q = quit
+
+# Image Navigation
+<Left> = prev
+<p> = prev
+<Right> = next
+<n> = next
+gg = goto 1
+<Shift+G> = goto -1
+
+# Panning
+j = pan 0 -50
+k = pan 0 50
+h = pan 50 0
+l = pan -50 0
+
+# Zooming
+<Up> = zoom 1
+<Shift+plus> = zoom 1
+<Down> = zoom -1
+<minus> = zoom -1
+
+<Ctrl+r> = rotate by 90
+<Ctrl+R> = rotate by 270
+
+# Other commands
+x = close
+f = fullscreen
+d = overlay
+a = zoom actual
+r = reset
+
+<c> = wl-copy < "imv_current_file"
+<i> = convert $file -channel RGB -negate /tmp/output.png && imv /tmp/output.png
+# Delete and then close an open image by pressing 'X'
+<Ctrl+D> = exec trash-put "$imv_current_file"
+
+# Rotate the currently open image by 90 degrees by pressing 'R'
+#<Ctrl+R> = exec mogrify -rotate 90 "$imv_current_file"
+
+# Use dmenu as a prompt for tagging the current image
+#u = exec echo "$imv_current_file" >> ~/tags/$(ls ~/tags | dmenu -p "tag")