Debian Codegraph @

fblessrc.example

raw
1 [paths]
2
3 # File to store your current positions for each book
4 save_file = ~/.cache/fbless/fbless_save
5
6 ### General settings ###
7 [general]
8
9 # Number of lines that are preserved when ypu go to the next page
10 context_lines: 0
11
12 # Display status line?
13 status: true
14
15 # Screen width. Set to 0 for autodetect
16 columns: 0
17
18 # Center text when screen is wider than 'columns'
19 center_text: false
20
21 # Use default terminal background and foreground colors in place of 'none' (see
22 # styles below)
23 use_default_colors: true
24
25 # Whether or not to replace fancy Unicode characters (dashes, quotes etc.) with
26 # their ASCII counterparts. Set this to 'true' if your terminal has troubles
27 # displaying Unicode.
28 replace_chars: false
29
30 # Your editor of choise
31 # {byte_offset} and {filename} would be replaced by actual values
32 # Note that filename is not being escaped, so you should do it yourself (i.e.
33 # wrap it into double quotes)
34 editor: vim -c go{byte_offset} "{filename}"
35
36 # Interval for autoscroll in seconds
37 auto_scroll_interval: 3
38
39 ### Styles ###
40
41 # Accepted colors: black, blue, cyan (light greenish blue), green, magenta
42 # (purpish red), red, white, yellow, none. The latter have different meaning
43 # depending on the 'use_default_colors' setting: if it's 'true', 'none' would
44 # mean default setting for that color (i.e., if foreground for some style is
45 # 'none' and 'use_default_colors' is 'true', fbless would use the same
46 # foreground color as your terminal uses). If the setting is false, curses
47 # would use some other colors (possibly grey and black).
48
49 [default]
50 justify: fill
51 hyphenate: true
52 left_indent: 2
53 right_indent: 2
54 first_line_indent: 4
55 bold: false
56 foreground: white
57 background: black
58
59 [p]
60 justify: fill
61 hyphenate: true
62 left_indent: 2
63 right_indent: 2
64 first_line_indent: 4
65 bold: false
66 foreground: none
67 background: none
68
69 [v]
70 justify: fill
71 hyphenate: true
72 left_indent: 10
73 right_indent: 4
74 first_line_indent: 0
75 foreground: none
76 background: none
77
78 [text-author]
79 justify: right
80 hiphenate: true
81 left_indent: 20
82 right_indent: 2
83 first_line_indent: 0
84 foreground: yellow
85 background: none
86
87 [epigraph]
88 justify: fill
89 hiphenate: true
90 left_indent: 20
91 right_indent: 2
92 first_line_indent: 4
93 foreground: none
94 background: none
95
96 [cite]
97 justify: fill
98 hiphenate: true
99 left_indent: 8
100 right_indent: 8
101 first_line_indent: 8
102 foreground: none
103 background: none
104
105 [title]
106 justify: center
107 hiphenate: false
108 left_indent: 8
109 right_indent: 8
110 first_line_indent: 0
111 foreground: magenta
112 background: none
113
114 [subtitle]
115 justify: center
116 hiphenate: false
117 left_indent: 8
118 right_indent: 8
119 first_line_indent: 0
120 foreground: cyan
121 background: none
122
123 [image]
124 justify: center
125 hiphenate: false
126 left_indent: 0
127 right_indent: 0
128 first_line_indent: 0
129 foreground: none
130 background: none
131
132 [strong]
133 foreground: magenta
134 background: none
135
136 [emphasis]
137 foreground: cyan
138 background: none
139
140 [style]
141 foreground: green
142 background: none
143
144 [a]
145 foreground: red
146 background: none
147
148 ### Keys ###
149
150 # Alphanumeric keys are denoted by the symbols they produce. The same goes for
151 # !, @, #, $, %, ^, &, *, _, -, +, =, / and all kinds of parentheses. The comma
152 # (,) is an exception: it is used as a delimiter, so when you mean it literally
153 # (i.e. you want it to be a hotkey for some action) you should type it as
154 # 'comma' (without quotes). Backslash (\) should be escaped (i.e., typed twice
155 # in a row). Other accepted names are: left, right, up, down, enter, backspace,
156 # tab, home, end, pgup, pgdn.
157
158 [keys]
159 quit: q, Q
160 toggle-status: s
161 search: /
162 search-next: n
163 scroll-fifo: f
164 auto-scroll: a
165 timer-inc: +
166 timer-dec: -
167 goto-percent: 5, G
168 jump-link: tab
169 goto-link: enter, right
170 backward: h, left
171 forward: l, backspace
172 scroll-up: k, up
173 scroll-down: j, down
174 prev-page: pgup
175 next-pagr: pgdn, space
176 goto-home: home, g
177 goto-end: end
178 edit-xml: e
179