aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.h12
-rw-r--r--sxiv.18
2 files changed, 12 insertions, 8 deletions
diff --git a/config.h b/config.h
index e5df7aa..dd9efe8 100644
--- a/config.h
+++ b/config.h
@@ -64,10 +64,14 @@ static const keymap_t keys[] = {
{ False, XK_l, move, (arg_t) DIR_RIGHT },
{ False, XK_Right, move, (arg_t) DIR_RIGHT },
- { False, XK_braceleft, pan_screen, (arg_t) DIR_LEFT },
- { False, XK_Next, pan_screen, (arg_t) DIR_DOWN },
- { False, XK_Prior, pan_screen, (arg_t) DIR_UP },
- { False, XK_braceright, pan_screen, (arg_t) DIR_RIGHT },
+ { True, XK_h, pan_screen, (arg_t) DIR_LEFT },
+ { True, XK_Left, pan_screen, (arg_t) DIR_LEFT },
+ { True, XK_j, pan_screen, (arg_t) DIR_DOWN },
+ { True, XK_Down, pan_screen, (arg_t) DIR_DOWN },
+ { True, XK_k, pan_screen, (arg_t) DIR_UP },
+ { True, XK_Up, pan_screen, (arg_t) DIR_UP },
+ { True, XK_l, pan_screen, (arg_t) DIR_RIGHT },
+ { True, XK_Right, pan_screen, (arg_t) DIR_RIGHT },
{ False, XK_H, pan_edge, (arg_t) DIR_LEFT },
{ False, XK_J, pan_edge, (arg_t) DIR_DOWN },
diff --git a/sxiv.1 b/sxiv.1
index c27dfe7..d6f7069 100644
--- a/sxiv.1
+++ b/sxiv.1
@@ -150,16 +150,16 @@ Pan to top image edge.
.B L
Pan to right image edge.
.TP
-.BR {
+.BR Ctrl-h ", " Ctrl-Left
Pan image one window width left.
.TP
-.BR PageDn
+.BR Ctrl-j ", " Ctrl-Down
Pan image one window height down.
.TP
-.BR PageUp
+.BR Ctrl-k ", " Ctrl-Up
Pan image one window height up.
.TP
-.BR }
+.BR Ctrl-l ", " Ctrl-Right
Pan image one window width right.
.SS Rotation
.TP