]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - xpdfrc
xpdfrc: Add Vi like bindings for scrolling.
[config/dotfiles.git] / xpdfrc
diff --git a/xpdfrc b/xpdfrc
index 85a3ec83a7b1a0f667e18204181a163237c43a3d..5211cd45d1f7df407041f541a056813f7c35472d 100644 (file)
--- a/xpdfrc
+++ b/xpdfrc
@@ -6,8 +6,11 @@
 include /etc/xpdf/xpdfrc
 
 
-# Enable continuous pages.
-continuousView yes
+# Vi like bindings for scrolling.
+bind k any pageUp
+bind j any pageDown
+bind h any scrollLeft(16)
+bind l any scrollRight(16)
 
 # Use Elinks to open URLs.
 urlCommand "elinks -remote '%s'"