aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBert <ber.t@gmx.com>2011-08-17 01:11:47 +0200
committerBert <ber.t@gmx.com>2011-08-17 01:11:47 +0200
commit2a3a9657d360a4952ef84aa4e8665f211d490321 (patch)
tree736cfac9cab1f4dcb63bb6bb3ceeaf47a229e595
parent6d624f6cc2fe5c4f918408177aac7da1deb9f91d (diff)
Fixed keyboard mappings
-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