33This refers to the ``[general] `` section in your
44`$XDG_CONFIG_HOME/bpython/config ` file.
55
6+ arg_spec
7+ ^^^^^^^^
8+ Display the arg spec (list of arguments) for callables, when possible (default:
9+ True).
10+
611auto_display_list
712^^^^^^^^^^^^^^^^^
813Display the autocomplete list as you type (default: True).
@@ -16,48 +21,59 @@ subsequence, and fuzzy matches methods with common characters (default: simple).
1621
1722.. versionadded :: 0.12
1823
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
2044^^^^^^
21- Syntax highlighting as you type (default: True) .
45+ Editor for externally editing the current line .
2246
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).
2760
2861hist_file
2962^^^^^^^^^
3063History file (default: ``~/.pythonhist ``).
3164
32- paste_time
33- ^^^^^^^^^^
34- The time between lines before pastemode is activated in seconds (default: 0.02).
35-
3665hist_length
3766^^^^^^^^^^^
3867Number of lines to store in history (set to 0 to disable) (default: 100).
3968
40- tab_length
69+ paste_time
4170^^^^^^^^^^
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).
5972
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).
6177
6278pastebin_expiry
6379^^^^^^^^^^^^^^^
@@ -120,41 +136,45 @@ following helper program can be used to create `gists
120136
121137 .. versionadded :: 0.12
122138
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/).
123143
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/).
129148
130149.. versionadded :: 0.14
131150
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
144152^^^^^^^^^^^^
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).
146156
147157save_append_py
148158^^^^^^^^^^^^^^
149159Whether to append ``.py `` to the filename while saving the input to a file.
150160
151161.. versionadded :: 0.13
152162
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
154172^^^^^^
155- Editor for externally editing the current line .
173+ Syntax highlighting as you type (default: True) .
156174
157- .. versionadded :: 0.13
175+ tab_length
176+ ^^^^^^^^^^
177+ Soft tab size (default 4, see PEP-8).
158178
159179unicode_box
160180^^^^^^^^^^^
0 commit comments