aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/config.def.h b/config.def.h
index 7dadfbc..a22d177 100644
--- a/config.def.h
+++ b/config.def.h
@@ -79,6 +79,10 @@ static const keymap_t keys[] = {
{ ControlMask, XK_Up, g_scroll_screen, (arg_t) DIR_UP },
{ ControlMask, XK_l, g_scroll_screen, (arg_t) DIR_RIGHT },
{ ControlMask, XK_Right, g_scroll_screen, (arg_t) DIR_RIGHT },
+ { 0, XK_plus, g_zoom, (arg_t) +1 },
+ { 0, XK_KP_Add, g_zoom, (arg_t) +1 },
+ { 0, XK_minus, g_zoom, (arg_t) -1 },
+ { 0, XK_KP_Subtract, g_zoom, (arg_t) -1 },
{ 0, XK_m, g_toggle_image_mark, (arg_t) None },
{ 0, XK_M, g_reverse_marks, (arg_t) None },
{ ControlMask, XK_m, g_unmark_all, (arg_t) None },
@@ -119,10 +123,6 @@ static const keymap_t keys[] = {
{ 0, XK_J, i_scroll_to_edge, (arg_t) DIR_DOWN },
{ 0, XK_K, i_scroll_to_edge, (arg_t) DIR_UP },
{ 0, XK_L, i_scroll_to_edge, (arg_t) DIR_RIGHT },
- { 0, XK_plus, i_zoom, (arg_t) +1 },
- { 0, XK_KP_Add, i_zoom, (arg_t) +1 },
- { 0, XK_minus, i_zoom, (arg_t) -1 },
- { 0, XK_KP_Subtract, i_zoom, (arg_t) -1 },
{ 0, XK_equal, i_set_zoom, (arg_t) 100 },
{ 0, XK_w, i_fit_to_win, (arg_t) SCALE_DOWN },
{ 0, XK_W, i_fit_to_win, (arg_t) SCALE_FIT },
@@ -153,8 +153,8 @@ static const button_t buttons[] = {
{ ShiftMask, 5, i_scroll, (arg_t) DIR_RIGHT },
{ 0, 6, i_scroll, (arg_t) DIR_LEFT },
{ 0, 7, i_scroll, (arg_t) DIR_RIGHT },
- { ControlMask, 4, i_zoom, (arg_t) +1 },
- { ControlMask, 5, i_zoom, (arg_t) -1 },
+ { ControlMask, 4, g_zoom, (arg_t) +1 },
+ { ControlMask, 5, g_zoom, (arg_t) -1 },
};
#endif