]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - xpdfrc
xinitrc: Set LANG in xinitrc to prevent problems on some systems.
[config/dotfiles.git] / xpdfrc
diff --git a/xpdfrc b/xpdfrc
index 85a3ec83a7b1a0f667e18204181a163237c43a3d..ded779ce147e8ea6b3459bffa884e495767d1016 100644 (file)
--- a/xpdfrc
+++ b/xpdfrc
@@ -1,13 +1,37 @@
 # xpdf configuration file.
 
+# Copyright (C) 2011-2012  Simon Ruderich
+#
+# This file is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This file is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this file.  If not, see <http://www.gnu.org/licenses/>.
+
 
 # Include the system wide configuration file as xpdf doesn't load it
 # automatically if ~/.xpdfrc is present.
 include /etc/xpdf/xpdfrc
 
 
-# Enable continuous pages.
-continuousView yes
+# Toggle outline.
+bind ctrl-o any toggleOutline
+
+# Vi like bindings for scrolling.
+bind k any pageUp
+bind j any pageDown
+bind h any scrollLeft(16)
+bind l any scrollRight(16)
+
+# Zoom to full page on startup, change to "normal" zoom mode by pressing 0.
+initialZoom page
 
 # Use Elinks to open URLs.
 urlCommand "elinks -remote '%s'"