aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2017-11-23 22:33:12 +0000
committerHarry Jeffery <harry@exec64.co.uk>2017-11-23 22:34:25 +0000
commit3bb94dc1a6094f1306cdaf387973b6712244df6a (patch)
tree700f2d7596bd85381cb7200f0ae7c05823a3abbd /files
parente2954b8108a5bbb441d1c98fa4888ba62611432f (diff)
downloadimv-3bb94dc1a6094f1306cdaf387973b6712244df6a.tar.gz
Require <> around all keys in a bind
This is partly for consistency, party to resolve a bug where binding [ in the config file would trick the ini parser into thinking it was reading a section header, leading to the bind not being applied.
Diffstat (limited to 'files')
-rw-r--r--files/imv_config56
1 files changed, 28 insertions, 28 deletions
diff --git a/files/imv_config b/files/imv_config
index 837803c..5a2dafd 100644
--- a/files/imv_config
+++ b/files/imv_config
@@ -35,42 +35,42 @@ default_binds = false
[binds]
-Q = quit
+<Q> = "quit"
# Image navigation
-<Left> = select_rel -1
-[ = select_rel -1
-<Right> = select_rel 1
-] = select_rel 1
-GG = select_abs 0
-<Shift+G> = select_abs -1
+<Left> = "select_rel -1"
+<[> = "select_rel -1"
+<Right> = "select_rel 1"
+<]> = "select_rel 1"
+<G><G> = "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
+<J> = "pan 0 -50"
+<K> = "pan 0 50"
+<H> = "pan 50 0"
+<L> = "pan -50 0"
-#Zooming
-<Up> = zoom 1
-I = zoom 1
-<Down> = zoom -1
-O = zoom -1
+# Zooming
+<Up> = "zoom 1"
+<I> = "zoom 1"
+<Down> = "zoom -1"
+<O> = "zoom -1"
# Other commands
-X = remove
-F = fullscreen
-D = overlay
-P = exec echo $imv_path
-C = center
-S = scaling_mode next
-A = zoom actual
-R = reset
+<X> = "remove"
+<F> = "fullscreen"
+<D> = "overlay"
+<P> = "exec echo $imv_path"
+<C> = "center"
+<S> = "scaling_mode next"
+<A> = "zoom actual"
+<R> = "reset"
# Gif playback
-. = next_frame
-<Space> = toggle_playing
+<.> = "next_frame"
+<Space> = "toggle_playing"
# Slideshow control
-T = slideshow_duration +1
-<Shift+T> = slideshow_duration -1
+<T> = "slideshow_duration +1"
+<Shift+T> = "slideshow_duration -1"