You can copy the supplied sample-config to your home directory and move it to /.bpython/config. bpython tries to find ~/.bpython/config and use it as its configuration (it also looks for ~/.bpython.ini as this was the default before 0.9.4), if the file does not exist bpython will use its documented defaults.
This refers to the [general] section in your ~/.bpython/config file.
Display the autocomplete list as you type (default: True). When this is off, you can hit tab to see the suggestions.
Syntax highlighting as you type (default: True).
Display the arg spec (list of arguments) for callables, when possible (default: True).
History file (default: ~/.pythonhist).
The time between lines before pastemode is activated in seconds (default: 0.02).
Number of lines to store in history (set to 0 to disable) (default: 100)
Soft tab size (default 4, see pep-8)
The pastebin url to post to (without a trailing slash). This pastebin has to be a pastebin which uses LodgeIt. Examples are: http://paste.pocoo.org/xmlrpc/ and http://bpaste.net/xmlrpc/ (default: http://bpaste.net/xmlrpc/)
The url under which the new paste can be reached. $paste_id will be replaced by the ID of the new paste. Examples are: http://bpaste.net/show/$paste_id/ and http://paste.pocoo.org/show/$paste_id/ (default: http://bpaste.net/show/$paste_id/)
See Themes for more information.
Color schemes should be put in ~/.bpython/
e.g to use the theme ~/.bpython/foo.theme set color_scheme = foo
If you set the colorscheme to foo this will be translated to ~/.bpython/foo.theme so be sure to put the file in that directory.
Leave blank or set to “default” to use the default (builtin) theme.
Whether to flush all output to stdout on exit (default: True).
This section refers to the [keyboard] section in your ~/.bpython/config.
You can set various keyboard shortcuts to be used by bpython. However, we have yet to map all keys to their respective control codes. If you configure a key combination which is not yet supported by bpython it will raise an exception telling you the key does not exist in bpython.keys.
Valid keys are:
Default: <F8>
Default: C-y
Pastes the current line from the buffer (the one you previously cutted)