summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--man/feh.pre2
-rw-r--r--src/keyevents.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/man/feh.pre b/man/feh.pre
index 2907bb2..407d96f 100644
--- a/man/feh.pre
+++ b/man/feh.pre
@@ -1414,7 +1414,7 @@ Zoom to 100%
.
Zoom to fit the window size
.
-.It Ao keypad 5 Ac Bq zoom_fill
+.It ! Bq zoom_fill
.
Zoom to fill the window size like
.Cm --bg-fill
diff --git a/src/keyevents.c b/src/keyevents.c
index 4385fc6..7bfacc8 100644
--- a/src/keyevents.c
+++ b/src/keyevents.c
@@ -134,6 +134,7 @@ void init_keyevents(void) {
feh_set_kb(&keys.zoom_out , 0, XK_Down , 0, XK_KP_Subtract,0, 0);
feh_set_kb(&keys.zoom_default, 0, XK_KP_Multiply, 0, XK_asterisk,0, 0);
feh_set_kb(&keys.zoom_fit , 0, XK_KP_Divide , 0, XK_slash , 0, 0);
+ feh_set_kb(&keys.zoom_fill , 0, XK_exclam , 0, 0 , 0, 0);
feh_set_kb(&keys.size_to_image, 0, XK_w , 0, 0 , 0, 0);
feh_set_kb(&keys.render , 0, XK_KP_Begin , 0, XK_R , 0, 0);
feh_set_kb(&keys.toggle_actions, 0, XK_a, 0, 0, 0, 0);