aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dmenu.111
-rw-r--r--dmenu.c8
2 files changed, 11 insertions, 8 deletions
diff --git a/dmenu.1 b/dmenu.1
index b221417..0784cd9 100644
--- a/dmenu.1
+++ b/dmenu.1
@@ -116,6 +116,9 @@ Tab
116C\-j 116C\-j
117Return 117Return
118.TP 118.TP
119C\-J
120Shift-Return
121.TP
119C\-k 122C\-k
120Delete line right 123Delete line right
121.TP 124.TP
@@ -147,16 +150,16 @@ M\-G
147End 150End
148.TP 151.TP
149M\-h 152M\-h
150Page up 153Up
151.TP 154.TP
152M\-j 155M\-j
153Up 156Page down
154.TP 157.TP
155M\-k 158M\-k
156Down 159Page up
157.TP 160.TP
158M\-l 161M\-l
159Page down 162Down
160.SH SEE ALSO 163.SH SEE ALSO
161.IR dwm (1), 164.IR dwm (1),
162.IR stest (1) 165.IR stest (1)
diff --git a/dmenu.c b/dmenu.c
index 6f6123d..4ea95f8 100644
--- a/dmenu.c
+++ b/dmenu.c
@@ -282,10 +282,10 @@ keypress(XKeyEvent *ev) {
282 switch(ksym) { 282 switch(ksym) {
283 case XK_g: ksym = XK_Home; break; 283 case XK_g: ksym = XK_Home; break;
284 case XK_G: ksym = XK_End; break; 284 case XK_G: ksym = XK_End; break;
285 case XK_h: ksym = XK_Prior; break; 285 case XK_h: ksym = XK_Up; break;
286 case XK_j: ksym = XK_Up; break; 286 case XK_j: ksym = XK_Next; break;
287 case XK_k: ksym = XK_Down; break; 287 case XK_k: ksym = XK_Prior; break;
288 case XK_l: ksym = XK_Next; break; 288 case XK_l: ksym = XK_Down; break;
289 default: 289 default:
290 return; 290 return;
291 } 291 }