3
3
This refers to the ``[general] `` section in your
4
4
`$XDG_CONFIG_HOME/bpython/config ` file.
5
5
6
+ arg_spec
7
+ ^^^^^^^^
8
+ Display the arg spec (list of arguments) for callables, when possible (default:
9
+ True).
10
+
6
11
auto_display_list
7
12
^^^^^^^^^^^^^^^^^
8
13
Display the autocomplete list as you type (default: True).
@@ -16,48 +21,59 @@ subsequence, and fuzzy matches methods with common characters (default: simple).
16
21
17
22
.. versionadded :: 0.12
18
23
19
- syntax
24
+ .. _configuration_color_scheme :
25
+
26
+ color_scheme
27
+ ^^^^^^^^^^^^
28
+ See :ref: `themes ` for more information.
29
+
30
+ Color schemes should be put in ``$XDG_CONFIG_HOME/bpython/ ``. For example, to
31
+ use the theme ``$XDG_CONFIG_HOME/bpython/foo.theme `` set ``color_scheme = foo ``
32
+
33
+ Leave blank or set to "default" to use the default (builtin) theme.
34
+
35
+ complete_magic_methods
36
+ ^^^^^^^^^^^^^^^^^^^^^^
37
+ Whether magic methods should be auto completed (default: True).
38
+
39
+ dedent_after
40
+ ^^^^^^^^^^^^
41
+ TODO (default: 1)
42
+
43
+ editor
20
44
^^^^^^
21
- Syntax highlighting as you type (default: True) .
45
+ Editor for externally editing the current line .
22
46
23
- arg_spec
24
- ^^^^^^^^
25
- Display the arg spec (list of arguments) for callables, when possible (default:
26
- True).
47
+ .. versionadded :: 0.13
48
+
49
+ flush_output
50
+ ^^^^^^^^^^^^
51
+ Whether to flush all output to stdout on exit (default: True).
52
+
53
+ highlight_show_source
54
+ ^^^^^^^^^^^^^^^^^^^^^
55
+ Whether the source code of an object should be highlighted (default: True).
56
+
57
+ hist_duplicates
58
+ ^^^^^^^^^^^^^^^
59
+ Whether to store duplicate entries in the history (default: True).
27
60
28
61
hist_file
29
62
^^^^^^^^^
30
63
History file (default: ``~/.pythonhist ``).
31
64
32
- paste_time
33
- ^^^^^^^^^^
34
- The time between lines before pastemode is activated in seconds (default: 0.02).
35
-
36
65
hist_length
37
66
^^^^^^^^^^^
38
67
Number of lines to store in history (set to 0 to disable) (default: 100).
39
68
40
- tab_length
69
+ paste_time
41
70
^^^^^^^^^^
42
- Soft tab size (default 4, see pep-8)
43
-
44
- pastebin_url
45
- ^^^^^^^^^^^^
46
- The pastebin url to post to (without a trailing slash). This pastebin has to be
47
- a pastebin which uses provides a similar interface to ``bpaste.net ``'s JSON
48
- interface (default: https://bpaste.net/json/new).
49
-
50
- pastebin_show_url
51
- ^^^^^^^^^^^^^^^^^
52
- The url under which the new paste can be reached. ``$paste_id `` will be replaced
53
- by the ID of the new paste (default: https://bpaste.net/show/$paste_id/).
54
-
55
- pastebin_removal_url
56
- ^^^^^^^^^^^^^^^^^^^^
57
- The url under which a paste can be removed. ``$removal_id `` will be replaced by
58
- the removal ID of the paste (default: https://bpaste.net/remova/$removal_id/).
71
+ The time between lines before pastemode is activated in seconds (default: 0.02).
59
72
60
- .. versionadded :: 0.14
73
+ pastebin_confirm
74
+ ^^^^^^^^^^^^^^^^
75
+ Whether pasting to a pastebin needs to be confirmed before sending the data
76
+ (default: True).
61
77
62
78
pastebin_expiry
63
79
^^^^^^^^^^^^^^^
@@ -120,41 +136,45 @@ following helper program can be used to create `gists
120
136
121
137
.. versionadded :: 0.12
122
138
139
+ pastebin_show_url
140
+ ^^^^^^^^^^^^^^^^^
141
+ The url under which the new paste can be reached. ``$paste_id `` will be replaced
142
+ by the ID of the new paste (default: https://bpaste.net/show/$paste_id/).
123
143
124
- single_undo_time
125
- ^^^^^^^^^^^^^^^^
126
- Time duration an undo must be predicted to take before prompting
127
- to undo multiple lines at once. Use -1 to never prompt, or 0 to always prompt.
128
- (default: 1.0)
144
+ pastebin_removal_url
145
+ ^^^^^^^^^^^^^^^^^^^^
146
+ The url under which a paste can be removed. ``$removal_id `` will be replaced by
147
+ the removal ID of the paste (default: https://bpaste.net/remova/$removal_id/).
129
148
130
149
.. versionadded :: 0.14
131
150
132
- .. _configuration_color_scheme :
133
-
134
- color_scheme
135
- ^^^^^^^^^^^^
136
- See :ref: `themes ` for more information.
137
-
138
- Color schemes should be put in ``$XDG_CONFIG_HOME/bpython/ ``. For example, to
139
- use the theme ``$XDG_CONFIG_HOME/bpython/foo.theme `` set ``color_scheme = foo ``
140
-
141
- Leave blank or set to "default" to use the default (builtin) theme.
142
-
143
- flush_output
151
+ pastebin_url
144
152
^^^^^^^^^^^^
145
- Whether to flush all output to stdout on exit (default: True).
153
+ The pastebin url to post to (without a trailing slash). This pastebin has to be
154
+ a pastebin which uses provides a similar interface to ``bpaste.net ``'s JSON
155
+ interface (default: https://bpaste.net/json/new).
146
156
147
157
save_append_py
148
158
^^^^^^^^^^^^^^
149
159
Whether to append ``.py `` to the filename while saving the input to a file.
150
160
151
161
.. versionadded :: 0.13
152
162
153
- editor
163
+ single_undo_time
164
+ ^^^^^^^^^^^^^^^^
165
+ Time duration an undo must be predicted to take before prompting
166
+ to undo multiple lines at once. Use -1 to never prompt, or 0 to always prompt.
167
+ (default: 1.0)
168
+
169
+ .. versionadded :: 0.14
170
+
171
+ syntax
154
172
^^^^^^
155
- Editor for externally editing the current line .
173
+ Syntax highlighting as you type (default: True) .
156
174
157
- .. versionadded :: 0.13
175
+ tab_length
176
+ ^^^^^^^^^^
177
+ Soft tab size (default 4, see PEP-8).
158
178
159
179
unicode_box
160
180
^^^^^^^^^^^
0 commit comments