-
Notifications
You must be signed in to change notification settings - Fork 0
/
.xpdfrc
57 lines (46 loc) · 1.53 KB
/
.xpdfrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#========================================================================
#
# User xpdfrc file
#
# Xpdf looks for a config file in the following two places:
# 1. ~/.xpdfrc
# 2. /etc/xpdf/xpdfrc
# Note that if ~/.xpdfrc exists, system file is NOT read automatically
#
# For complete details, see xpdfrc(5)
# http://www.foolabs.com/xpdf/
#
#========================================================================
include /etc/xpdf/xpdfrc
# Set the default PostScript file or command.
psFile "|lpr"
# Set the command used to run a web browser when a URL hyperlink is clicked.
urlCommand "sensible-browser '%s'"
# Unbind arrow keys so we can change fullscreen behavior
unbind down any
unbind right any
unbind up any
unbind left any
# Rebind arrow keys to defaults in the windowed context
bind down window scrollDown(16)
bind right window scrollRight(16)
bind up window scrollUp(16)
bind left window scrollLeft(16)
# Bind arrow keys to next/prev page actions in the fullscreen context
bind down fullScreen nextPage
bind right fullScreen nextPage
bind up fullScreen prevPage
bind left fullScreen prevPage
#========================================================================
# User-defined bindings
bind h any scrollLeft(35)
bind l any scrollRight(35)
bind k any scrollUpPrevPage(35)
bind j any scrollDownNextPage(35)
bind ctrl-f any scrollDownNextPage(320)
bind ctrl-b any scrollUpPrevPage(320)
bind ctrl-d any scrollDownNextPage(160)
bind ctrl-u any scrollUpPrevPage(160)
bind g any gotoPage(1)
bind G any gotoLastPage
bind / any find