1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$NetBSD
Bind j and k keys
--- xpdf/GlobalParams.cc.orig 2021-06-09 23:49:14.773910902 +0200
+++ xpdf/GlobalParams.cc
@@ -901,6 +901,10 @@ void GlobalParams::createDefaultKeyBindings() {
xpdfKeyContextAny, "scrollUp(16)"));
keyBindings->append(new KeyBinding(xpdfKeyCodeDown, xpdfKeyModNone,
xpdfKeyContextAny, "scrollDown(16)"));
+ keyBindings->append(new KeyBinding('k', xpdfKeyModNone,
+ xpdfKeyContextAny, "scrollUp(16)"));
+ keyBindings->append(new KeyBinding('j', xpdfKeyModNone,
+ xpdfKeyContextAny, "scrollDown(16)"));
keyBindings->append(new KeyBinding('o', xpdfKeyModNone,
xpdfKeyContextAny, "open"));
keyBindings->append(new KeyBinding('O', xpdfKeyModNone,
|