diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-10-24 14:23:01 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-10-24 14:26:39 +0100 |
commit | a9e36deccc71e5774a198e652c986211bb7a123e (patch) | |
tree | ca67dd7c251e262ab16e49e5b0070148958fad6d | |
parent | b2e6b2f665f8e815062fb1b9cd6e7fc67aa6ee71 (diff) | |
download | dmenu-a9e36deccc71e5774a198e652c986211bb7a123e.tar.gz dmenu-a9e36deccc71e5774a198e652c986211bb7a123e.tar.bz2 dmenu-a9e36deccc71e5774a198e652c986211bb7a123e.zip |
[PATCH] M-j and M-k iterate choices 1-1, M-h and M-l page-page.
Flip the M-{j, k} and M-{h, l} commands, to mirror my Emacs
configuration.
-rw-r--r-- | dmenu.1 | 8 | ||||
-rw-r--r-- | dmenu.c | 8 |
2 files changed, 8 insertions, 8 deletions
@@ -199,16 +199,16 @@ Home End .TP .B M\-h -Up +Page up .TP .B M\-j -Page down +Down .TP .B M\-k -Page up +Up .TP .B M\-l -Down +Page down .SH SEE ALSO .IR dwm (1), .IR stest (1) @@ -515,10 +515,10 @@ keypress(XKeyEvent *ev) goto draw; case XK_g: ksym = XK_Home; break; case XK_G: ksym = XK_End; 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; + case XK_h: ksym = XK_Prior; break; + case XK_j: ksym = XK_Down; break; + case XK_k: ksym = XK_Up; break; + case XK_l: ksym = XK_Next; break; default: return; } |