]> 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 2a355faeb6e5894a4b40ebee0d567d6f2368daa4..5211cd45d1f7df407041f541a056813f7c35472d 100644 (file)
--- a/xpdfrc
+++ b/xpdfrc
@@ -6,5 +6,11 @@
 include /etc/xpdf/xpdfrc
 
 
+# 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'"