commit e575703b27e861a3d41ec2b98cae1a584a55602d
parent 6eee91aea0ea953ffd3d75aef64892eb4ecc64e3
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date: Tue, 22 Jan 2019 10:57:44 -0500
Add config for imv.
Diffstat:
2 files changed, 57 insertions(+), 0 deletions(-)
diff --git a/.config/imv/config b/.config/imv/config
@@ -0,0 +1,55 @@
+[options]
+# Suppress built-in key bindings, and specify them explicitly in this
+# config file.
+suppress_default_binds = true
+background = 262626
+overlay_font = Iosevka\ SS09:12
+
+[aliases]
+q = quit
+next = select_rel 1
+prev = select_rel -1
+
+[binds]
+q = quit
+
+# Image navigation
+<Left> = prev
+<Right> = next
+<Ctrl+p> = prev
+<Ctrl+n> = next
+<LeftSquareBracket> = prev
+<RightSquareBracket> = next
+gg = select_abs 0
+<Shift+g> = select_abs -1
+
+# Panning
+j = pan 0 -50
+k = pan 0 50
+h = pan 50 0
+l = pan -50 0
+
+# Zooming
+<Up> = zoom 10
+<Shift+Equals> = zoom 10
+<Down> = zoom -10
+- = zoom -10
+<Equals> = reset
+r = reset
+a = zoom actual
+
+# Other commands
+x = close
+f = fullscreen
+d = overlay
+p = exec echo $imv_current_file
+c = center
+s = scaling_mode next
+
+# Gif playback
+. = next_frame
+<Space> = toggle_playing
+
+# Slideshow control
+t = slideshow_duration +1
+<Shift+t> = slideshow_duration -1
diff --git a/.gitignore b/.gitignore
@@ -22,6 +22,8 @@
!.config/i3/*
!.config/i3blocks
!.config/i3blocks/*
+!.config/imv
+!.config/imv/*
!.config/lf
!.config/lf/*
!.config/mako