summaryrefslogtreecommitdiff
path: root/.config/imv
diff options
context:
space:
mode:
authorAdam Stück <adam@adast.xyz>2023-05-19 14:24:30 +0200
committerAdam Stück <adam@adast.xyz>2023-05-19 14:24:30 +0200
commit4fd2fadc5ea75fb308ddda1e7d347be754732176 (patch)
tree02315d2485870e599432f7e321a4cc06dba0f098 /.config/imv
parentc07ed9800f08a3851ed6830d54c7135764f9857f (diff)
Add imv config
Diffstat (limited to '.config/imv')
-rw-r--r--.config/imv/config63
1 files changed, 63 insertions, 0 deletions
diff --git a/.config/imv/config b/.config/imv/config
new file mode 100644
index 0000000..d4affb6
--- /dev/null
+++ b/.config/imv/config
@@ -0,0 +1,63 @@
+# Default config for imv
+
+[options]
+
+overlay_font = Monospace:12
+
+# Suppress built-in key bindings, and specify them explicitly in this
+# config file.
+suppress_default_binds = true
+
+[aliases]
+# Define aliases here. Any arguments passed to an alias are appended to the
+# command.
+# alias = command to run
+
+[binds]
+# Define some key bindings
+q = quit
+y = exec echo working!
+
+# Image navigation
+<Left> = prev
+<bracketleft> = prev
+<Right> = next
+<bracketright> = 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
+i = zoom 1
+<Down> = zoom -1
+<minus> = zoom -1
+o = zoom -1
+
+# Rotate Clockwise by 90 degrees
+<Ctrl+r> = rotate by 90
+
+# Other commands
+x = close
+f = fullscreen
+d = overlay
+p = exec echo $imv_current_file
+c = center
+s = scaling next
+<Shift+S> = upscaling next
+a = zoom actual
+r = reset
+
+# Gif playback
+<period> = next_frame
+<space> = toggle_playing
+
+# Slideshow control
+t = slideshow +1
+<Shift+T> = slideshow -1