From 743494673608b01088ddb1b63a93cb9120fefb49 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Thu, 20 Dec 2012 22:02:49 +0100 Subject: [PATCH] xpdfrc: Improve Vi like bindings. --- xpdfrc | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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 -- 2.45.2