aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h52
1 files changed, 26 insertions, 26 deletions
diff --git a/config.def.h b/config.def.h
index d8bb47f..777cb80 100644
--- a/config.def.h
+++ b/config.def.h
@@ -85,28 +85,28 @@ static const keymap_t keys[] = {
{ true, XK_p, i_navigate_frame, (arg_t) -1 },
{ true, XK_space, i_toggle_animation, (arg_t) None },
- { false, XK_h, it_move, (arg_t) DIR_LEFT },
- { false, XK_Left, it_move, (arg_t) DIR_LEFT },
- { false, XK_j, it_move, (arg_t) DIR_DOWN },
- { false, XK_Down, it_move, (arg_t) DIR_DOWN },
- { false, XK_k, it_move, (arg_t) DIR_UP },
- { false, XK_Up, it_move, (arg_t) DIR_UP },
- { false, XK_l, it_move, (arg_t) DIR_RIGHT },
- { false, XK_Right, it_move, (arg_t) DIR_RIGHT },
-
- { true, XK_h, i_pan_screen, (arg_t) DIR_LEFT },
- { true, XK_Left, i_pan_screen, (arg_t) DIR_LEFT },
- { true, XK_j, i_pan_screen, (arg_t) DIR_DOWN },
- { true, XK_Down, i_pan_screen, (arg_t) DIR_DOWN },
- { true, XK_k, i_pan_screen, (arg_t) DIR_UP },
- { true, XK_Up, i_pan_screen, (arg_t) DIR_UP },
- { true, XK_l, i_pan_screen, (arg_t) DIR_RIGHT },
- { true, XK_Right, i_pan_screen, (arg_t) DIR_RIGHT },
-
- { false, XK_H, i_pan_edge, (arg_t) DIR_LEFT },
- { false, XK_J, i_pan_edge, (arg_t) DIR_DOWN },
- { false, XK_K, i_pan_edge, (arg_t) DIR_UP },
- { false, XK_L, i_pan_edge, (arg_t) DIR_RIGHT },
+ { false, XK_h, it_scroll_move, (arg_t) DIR_LEFT },
+ { false, XK_Left, it_scroll_move, (arg_t) DIR_LEFT },
+ { false, XK_j, it_scroll_move, (arg_t) DIR_DOWN },
+ { false, XK_Down, it_scroll_move, (arg_t) DIR_DOWN },
+ { false, XK_k, it_scroll_move, (arg_t) DIR_UP },
+ { false, XK_Up, it_scroll_move, (arg_t) DIR_UP },
+ { false, XK_l, it_scroll_move, (arg_t) DIR_RIGHT },
+ { false, XK_Right, it_scroll_move, (arg_t) DIR_RIGHT },
+
+ { true, XK_h, it_scroll_screen, (arg_t) DIR_LEFT },
+ { true, XK_Left, it_scroll_screen, (arg_t) DIR_LEFT },
+ { true, XK_j, it_scroll_screen, (arg_t) DIR_DOWN },
+ { true, XK_Down, it_scroll_screen, (arg_t) DIR_DOWN },
+ { true, XK_k, it_scroll_screen, (arg_t) DIR_UP },
+ { true, XK_Up, it_scroll_screen, (arg_t) DIR_UP },
+ { true, XK_l, it_scroll_screen, (arg_t) DIR_RIGHT },
+ { true, XK_Right, it_scroll_screen, (arg_t) DIR_RIGHT },
+
+ { false, XK_H, i_scroll_to_edge, (arg_t) DIR_LEFT },
+ { false, XK_J, i_scroll_to_edge, (arg_t) DIR_DOWN },
+ { false, XK_K, i_scroll_to_edge, (arg_t) DIR_UP },
+ { false, XK_L, i_scroll_to_edge, (arg_t) DIR_RIGHT },
{ false, XK_plus, i_zoom, (arg_t) +1 },
{ false, XK_KP_Add, i_zoom, (arg_t) +1 },
@@ -147,10 +147,10 @@ static const button_t buttons[] = {
{ false, false, Button1, i_navigate, (arg_t) +1 },
{ false, false, Button3, i_navigate, (arg_t) -1 },
{ false, false, Button2, i_drag, (arg_t) None },
- { false, false, Button4, it_move, (arg_t) DIR_UP },
- { false, false, Button5, it_move, (arg_t) DIR_DOWN },
- { false, true, Button4, it_move, (arg_t) DIR_LEFT },
- { false, true, Button5, it_move, (arg_t) DIR_RIGHT },
+ { false, false, Button4, it_scroll_move, (arg_t) DIR_UP },
+ { false, false, Button5, it_scroll_move, (arg_t) DIR_DOWN },
+ { false, true, Button4, it_scroll_move, (arg_t) DIR_LEFT },
+ { false, true, Button5, it_scroll_move, (arg_t) DIR_RIGHT },
{ true, false, Button4, i_zoom, (arg_t) +1 },
{ true, false, Button5, i_zoom, (arg_t) -1 },
};