]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
xpdfrc: Add Vi like bindings for scrolling.
authorSimon Ruderich <simon@ruderich.org>
Sat, 24 Jul 2010 08:44:52 +0000 (10:44 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sat, 24 Jul 2010 08:44:52 +0000 (10:44 +0200)
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'"