]> ruderich.org/simon Gitweb - config/dotfiles.git/blob - x11/xpdfrc
vim: syntax: update perl
[config/dotfiles.git] / x11 / xpdfrc
1 # xpdf configuration file.
2
3 # Copyright (C) 2011-2012  Simon Ruderich
4 #
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.
9 #
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.
14 #
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/>.
17
18
19 # Include the system wide configuration file as xpdf doesn't load it
20 # automatically if ~/.xpdfrc is present.
21 include /etc/xpdf/xpdfrc
22
23
24 # Toggle outline.
25 bind ctrl-o any toggleOutline
26
27 # Vi like bindings for scrolling.
28 #
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.
31 bind j any pageDown
32 bind k any pageUp
33 bind h any scrollLeft(16)
34 bind l any scrollRight(16)
35 #
36 bind ctrl-b any pageUp
37 bind ctrl-f any pageDown
38
39 # Vi like bindings for searching.
40 bind / any find
41 bind n any findNext
42
43 # Zoom to full page on startup, change to "normal" zoom mode by pressing 0.
44 initialZoom page
45
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"