···11-# This is a standard python config file
22-# Valid values can be True, False, integer numbers, strings
33-# By default bpython will look for $XDG_CONFIG_HOME/bpython/config
44-# ($XDG_CONFIG_HOME defaults to ~/.config) or you can specify a file with the
55-# --config option on the command line
66-#
77-# see http://docs.bpython-interpreter.org/configuration.html
11+# See http://docs.bpython-interpreter.org/configuration.html
82# for all configurable options
931010-# General section tag
114[general]
1212-1313-# Display the autocomplete list as you type (default: True).
1414-# When this is off, you can hit tab to see the suggestions.
1515-# auto_display_list = True
1616-1717-# Syntax highlighting as you type (default: True).
1818-# syntax = True
1919-2020-# Display the arg spec (list of arguments) for callables,
2121-# when possible (default: True).
2222-# arg_spec = True
2323-2424-# History file (default: ~/.pythonhist):
2525-# hist_file = ~/.pythonhist
2626-2727-# Number of lines to store in history (set to 0 to disable) (default: 100):
2828-# hist_length = 100
2929-3030-# Soft tab size (default: 4, see pep-8):
3131-# tab_length = 4
3232-3333-# Color schemes should be put in $XDG_CONFIG_HOME/bpython/ e.g. to use the theme
3434-# $XDG_CONFIG_HOME/bpython/foo.theme set color_scheme = foo. Leave blank or set
3535-# to "default" to use the default theme
3636-# color_scheme = default
55+# Custom monokai-like theme
66+color_scheme = monokai
377388# Allow two blank lines before automatic dedent
399dedent_after = 2
40104111# External editor to use for editing the current line, block, or full history
4242-# Default is to try $EDITOR and $VISUAL, then vi - but if you uncomment
4343-# the line below that will take precedence
4412editor = vim
45134646-# Whether to append .py to the filename while saving session to a file.
4747-# (default: False)
4848-# save_append_py = False
4949-5050-# The name of a helper executable that should perform pastebin upload on
5151-# bpython's behalf. If unset, bpython uploads pastes to bpaste.net. (default: )
5252-# pastebin_helper = gist.py
5353-5454-# How long an undo must be expected to take before prompting for how
5555-# many lines should be undone. Set to -1 to never prompt, or 0 to
5656-# always prompt.
5757-# single_undo_time = 1.0
5858-5959-# Enable autoreload feature by default (default: False).
6060-# default_autoreload = False
61146215[keyboard]
6363-6464-# All key bindings are shown commented out with their default binding
6565-6666-# pastebin = F8
6767-# last_output = F9
6868-# reimport = F6
6969-# help = F1
7070-# toggle_file_watch = F5
7171-# save = C-s
7272-# undo = C-r
7373-# up_one_line = C-p
7474-# down_one_line = C-n
7575-# cut_to_buffer = C-k
7676-# search = C-o
7777-# yank_from_buffer = C-y
7878-# backspace = C-h
1616+# Meta-backspace == clear word
7917clear_word = C-M-h
8080-# clear_line = C-u
8181-# clear_screen = C-l
8282-# show_source = F2
8383-# exit = C-d
8484-# external_editor = F7
8585-# edit_config = F3
8686-# reverse_incremental_search = M-r
8787-# incremental_search = M-s
88188989-[curtsies]
90199191-# Allow the the completion and docstring box above the current line
9292-# (default: False)
9393-# list_above = False
9494-9595-# Enables two fish (the shell) style features:
9696-# Previous line key will search for the current line (like reverse incremental
9797-# search) and right arrow will complete the current line with the first match
9898-# from history. (default: True)
2020+[curtsies]
2121+# Fish-like completion
9922right_arrow_completion = True
+29
.config/bpython/monokai.theme
···11+# Copy to $XDG_CONFIG_HOME/bpython/monokai.theme and set "color_scheme = monokai" in
22+# $XDG_CONFIG_HOME/bpython/config ($XDG_CONFIG_HOME defaults to ~/.config)
33+44+# Unfortunately, bpython themes do not support all of the same token types as
55+# e.g. TextMate grammar, so some of these don't match up perfectly, e.g.
66+# - "." is an operator instead of punctuation
77+# - Constants like "True" and "None" are considered keywords
88+# - Functions, classe definitions are highlighted as names
99+# - No special highlighting for kwargs, self, etc.
1010+1111+[syntax]
1212+keyword = r
1313+name = w
1414+comment = K
1515+string = y
1616+error = R
1717+number = m
1818+operator = r
1919+punctuation = w
2020+token = m
2121+paren = w
2222+2323+[interface]
2424+background = d
2525+output = d
2626+main = c
2727+prompt = c
2828+prompt_more = c
2929+right_arrow_suggestion = K