1 # xpdf configuration file.
3 # Copyright (C) 2011-2012 Simon Ruderich
5 # This file is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation, either version 3 of the License, or
8 # (at your option) any later version.
10 # This file is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this file. If not, see <http://www.gnu.org/licenses/>.
19 # Include the system wide configuration file as xpdf doesn't load it
20 # automatically if ~/.xpdfrc is present.
21 include /etc/xpdf/xpdfrc
25 bind ctrl-o any toggleOutline
27 # Vi like bindings for scrolling.
29 # j/k are mapped to page* (and not scroll*) or pressing j/k won't scroll
30 # up/down when the whole page is viewed.
33 bind h any scrollLeft(16)
34 bind l any scrollRight(16)
36 bind ctrl-b any pageUp
37 bind ctrl-f any pageDown
39 # Vi like bindings for searching.
43 # Zoom to full page on startup, change to "normal" zoom mode by pressing 0.
46 # Use Elinks to open URLs. No quotes around %s, xpdf must handle the quoting
47 # or it causes security vulnerabilities with manipulated URLs.
48 urlCommand "elinks -remote %s"