From cf706293db0bd8e56ed4287382b774947a3f8a88 Mon Sep 17 00:00:00 2001 From: Harry Jeffery Date: Fri, 23 Aug 2019 21:08:35 +0100 Subject: Update default config --- files/imv_config | 32 +++++++++++++++++--------------- src/imv.c | 1 - 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 - = select_rel -1 - = select_rel -1 - = select_rel 1 - = select_rel 1 -gg = select_abs 0 - = select_abs -1 + = prev + = prev + = next + = next +gg = goto 0 + = goto -1 # Panning j = pan 0 -50 @@ -32,8 +32,10 @@ l = pan -50 0 # Zooming = zoom 1 + = zoom 1 i = zoom 1 = zoom -1 + = zoom -1 o = zoom -1 # Other commands @@ -47,9 +49,9 @@ a = zoom actual r = reset # Gif playback -. = next_frame - = toggle_playing + = next_frame + = toggle_playing # Slideshow control -t = slideshow_duration +1 - = slideshow_duration -1 +t = slideshow +1 + = 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, "", "zoom 1"); add_bind(imv, "", "zoom 1"); add_bind(imv, "", "zoom 1"); add_bind(imv, "i", "zoom 1"); -- cgit v1.2.3