From: Simon Ruderich Date: Thu, 20 Dec 2012 21:02:49 +0000 (+0100) Subject: xpdfrc: Improve Vi like bindings. X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=commitdiff_plain;h=743494673608b01088ddb1b63a93cb9120fefb49 xpdfrc: Improve Vi like bindings. --- diff --git a/xpdfrc b/xpdfrc index ded779c..a13d256 100644 --- a/xpdfrc +++ b/xpdfrc @@ -25,10 +25,20 @@ 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