views:

30

answers:

1

Is there a way to add a find-previous function in xdvi or a findPrevious function in xpdf? Those would be equivalent to a function that brings up the search dialog with the "Search backwards" option already checked.

I need such functions in order to define keybindings

bind ? any findPrevious

in my .xpdfrc and

xdvi.mainTranslations: #override\
                                 <Key>?:find-previous()

in my .Xdefaults. I'd then have a complete set of vi-like keybindings in both programmes! Thank you.

Request: would a user with more privileges please tag this xpdf and xdvi, then scrub this line? I cannot create new tags yet.

A: 

You may have to change the code of xpdf. I read the source code of xpdf once, it provides the search-backwards function, but dose not give a key binding

osirpt