rebind ^N ^P

This commit is contained in:
Connor Lane Smith 2011-07-04 16:55:09 +01:00
parent 0288b576ca
commit 34a816f87d
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
# dmenu version # dmenu version
VERSION = 4.3.1 VERSION = 4.4
# paths # paths
PREFIX = /usr/local PREFIX = /usr/local

View File

@ -268,10 +268,10 @@ keypress(XKeyEvent *ev) {
match(False); match(False);
break; break;
case XK_n: case XK_n:
ksym = XK_Down; ksym = XK_Next;
break; break;
case XK_p: case XK_p:
ksym = XK_Up; ksym = XK_Prior;
break; break;
case XK_u: /* delete left */ case XK_u: /* delete left */
insert(NULL, 0 - cursor); insert(NULL, 0 - cursor);