Fixed keyboard mappings

This commit is contained in:
Bert 2011-08-17 01:11:47 +02:00
parent 6d624f6cc2
commit 2a3a9657d3
2 changed files with 12 additions and 8 deletions

View file

@ -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 },

8
sxiv.1
View file

@ -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