The Xpdf man page says that it can be customized to work with Vi style keybindings:
Previous versions of xpdf included a "viKeys" X resource. It is no
longer available, but the following bindings are equivalent:
bind h any scrollLeft(16)
bind l any scrollRight(16)
bind k any scrollUp(16)
bind j any scrollDown(16)
But nothing happens after I add those lines to ~/.xpdfrc
. What could be going on?
Best Answer
Had version 3.03 installed. At least here
.xpdfrc
was opened and read, according tostrace
, but no settings had any effect. Downloaded and tested version 3.04 and here bindings work fine.Quick to do:
Install FreeType 2 dev and Motif dev. For debian and the like something like:
Configure and make:
Test:
Includes:
Also had a quick look at zathura as recommended by @Peterph.
Looks nice, and if you want vi(m) bindings it have a lot of default bindings that are same as in vim. E.g.
h, j, k, l, :, /, gg, G
etc. Both key-bindings and other things are configurable.