align M-[hjkl] closer to vi keys
This commit is contained in:
parent
d3e9bd152e
commit
3402a8d53a
13
dmenu.1
13
dmenu.1
|
@ -116,6 +116,9 @@ Tab
|
|||
C\-j
|
||||
Return
|
||||
.TP
|
||||
C\-J
|
||||
Shift-Return
|
||||
.TP
|
||||
C\-k
|
||||
Delete line right
|
||||
.TP
|
||||
|
@ -147,16 +150,16 @@ M\-G
|
|||
End
|
||||
.TP
|
||||
M\-h
|
||||
Page up
|
||||
.TP
|
||||
M\-j
|
||||
Up
|
||||
.TP
|
||||
M\-j
|
||||
Page down
|
||||
.TP
|
||||
M\-k
|
||||
Down
|
||||
Page up
|
||||
.TP
|
||||
M\-l
|
||||
Page down
|
||||
Down
|
||||
.SH SEE ALSO
|
||||
.IR dwm (1),
|
||||
.IR stest (1)
|
||||
|
|
8
dmenu.c
8
dmenu.c
|
@ -282,10 +282,10 @@ keypress(XKeyEvent *ev) {
|
|||
switch(ksym) {
|
||||
case XK_g: ksym = XK_Home; break;
|
||||
case XK_G: ksym = XK_End; break;
|
||||
case XK_h: ksym = XK_Prior; break;
|
||||
case XK_j: ksym = XK_Up; break;
|
||||
case XK_k: ksym = XK_Down; break;
|
||||
case XK_l: ksym = XK_Next; break;
|
||||
case XK_h: ksym = XK_Up; break;
|
||||
case XK_j: ksym = XK_Next; break;
|
||||
case XK_k: ksym = XK_Prior; break;
|
||||
case XK_l: ksym = XK_Down; break;
|
||||
default:
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue