X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=xpdfrc;h=e5582091ef81f604963fb5720bc6ee3b716381be;hb=88ba0f56e16573a402d6fcbb383dc0f62fc4620d;hp=1e069e6ab4fc89c3533bc04875f6efb06be19c06;hpb=80ec2902478cf11da5737951f104f55918837dd7;p=config%2Fdotfiles.git diff --git a/xpdfrc b/xpdfrc index 1e069e6..e558209 100644 --- a/xpdfrc +++ b/xpdfrc @@ -25,10 +25,24 @@ include /etc/xpdf/xpdfrc bind ctrl-o any toggleOutline # Vi like bindings for scrolling. -bind k any pageUp +# +# j/k are mapped to page* (and not scroll*) or pressing j/k won't scroll +# up/down when the whole page is viewed. bind j any pageDown +bind k any pageUp bind h any scrollLeft(16) bind l any scrollRight(16) +# +bind ctrl-b any pageUp +bind ctrl-f any pageDown + +# Vi like bindings for searching. +bind / any find +bind n any findNext + +# Zoom to full page on startup, change to "normal" zoom mode by pressing 0. +initialZoom page -# Use Elinks to open URLs. -urlCommand "elinks -remote '%s'" +# Use Elinks to open URLs. No quotes around %s, xpdf must handle the quoting +# or it causes security vulnerabilities with manipulated URLs. +urlCommand "elinks -remote %s"