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