aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--files/imv_config32
-rw-r--r--src/imv.c1
2 files changed, 17 insertions, 16 deletions
diff --git a/files/imv_config b/files/imv_config
index 443e2f2..2c7dc2a 100644
--- a/files/imv_config
+++ b/files/imv_config
@@ -7,22 +7,22 @@
suppress_default_binds = true
[aliases]
-q = quit
-next = select_rel 1
-previous = select_rel -1
-n = select_rel 1
-p = select_rel -1
+# Define aliases here. Any arguments passed to an alias are appended to the
+# command.
+# alias = command to run
[binds]
+# Deinfe some key bindings
q = quit
+y = exec echo working!
# Image navigation
-<Left> = select_rel -1
-<LeftSquareBracket> = select_rel -1
-<Right> = select_rel 1
-<RightSquareBracket> = select_rel 1
-gg = select_abs 0
-<Shift+g> = select_abs -1
+<Left> = prev
+<bracketleft> = prev
+<Right> = next
+<bracketright> = next
+gg = goto 0
+<Shift+G> = goto -1
# Panning
j = pan 0 -50
@@ -32,8 +32,10 @@ l = pan -50 0
# Zooming
<Up> = zoom 1
+<Shift+plus> = zoom 1
i = zoom 1
<Down> = zoom -1
+<minus> = zoom -1
o = zoom -1
# Other commands
@@ -47,9 +49,9 @@ a = zoom actual
r = reset
# Gif playback
-. = next_frame
-<Space> = toggle_playing
+<period> = next_frame
+<space> = toggle_playing
# Slideshow control
-t = slideshow_duration +1
-<Shift+t> = slideshow_duration -1
+t = slideshow +1
+<Shift+T> = slideshow -1
diff --git a/src/imv.c b/src/imv.c
index 873b170..2a1cf24 100644
--- a/src/imv.c
+++ b/src/imv.c
@@ -569,7 +569,6 @@ struct imv *imv_create(void)
add_bind(imv, "f", "fullscreen");
add_bind(imv, "d", "overlay");
add_bind(imv, "p", "exec echo $imv_current_file");
- add_bind(imv, "<equal>", "zoom 1");
add_bind(imv, "<Up>", "zoom 1");
add_bind(imv, "<Shift+plus>", "zoom 1");
add_bind(imv, "i", "zoom 1");