Skip to content

Commit e31a8b5

Browse files
Added most options to config
left out ones I'm thinking might be deprecated or don't apply to bpython-curtsies
1 parent 9a90d60 commit e31a8b5

File tree

1 file changed

+48
-9
lines changed

1 file changed

+48
-9
lines changed

bpython/sample-config

Lines changed: 48 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,29 +15,68 @@
1515
auto_display_list = True
1616

1717
# Syntax highlighting as you type (default: True).
18-
syntax = True
18+
# syntax = True
1919

2020
# Display the arg spec (list of arguments) for callables,
2121
# when possible (default: True).
22-
arg_spec = True
22+
# arg_spec = True
2323

2424
# History file (default: ~/.pythonhist):
25-
hist_file = ~/.pythonhist
25+
# hist_file = ~/.pythonhist
2626

2727
# Number of lines to store in history (set to 0 to disable) (default: 100):
28-
hist_length = 100
28+
# hist_length = 100
2929

3030
# Soft tab size (default: 4, see pep-8):
31-
tab_length = 4
31+
# 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
36-
color_scheme = default
36+
# color_scheme = default
3737

3838
# External editor to use for editing the current line, block, or full history
39-
editor = vi
39+
# Default is to try $EDITOR and $VISUAL, then vi - but if you uncomment
40+
# the line below that will take precedence
41+
# editor = vi
42+
43+
# Whether to append .py to the filename while saving session to a file.
44+
# (default: False)
45+
# save_append_py = False
46+
47+
# The name of a helper executable that should perform pastebin upload on bpython’s behalf.
48+
#pastebin_helper = gist.py
4049

4150
[keyboard]
42-
pastebin = F8
43-
save = C-s
51+
52+
# pastebin = F8
53+
# last_output = F9
54+
# reimport = F6
55+
# help = F1
56+
# toggle_file_watch = F5
57+
# save = C-s
58+
# undo = C-r
59+
# up_one_line = C-p
60+
# down_one_line = C-n
61+
# cut_to_buffer = C-k
62+
# search = C-o
63+
# yank_from_buffer = C-y
64+
# clear_word = C-w
65+
# clear_line = C-u
66+
# clear_screen = C-l
67+
# show_source = F2
68+
# exit = C-d
69+
# external_editor = F7
70+
# edit_config = F3
71+
#
72+
[curtsies]
73+
74+
# Allow the the completion and docstring box above the current line
75+
# (default: False)
76+
# list_above = False
77+
78+
# Enables two fish (the shell) style features:
79+
# Previous line key will search for the current line (like reverse incremental
80+
# search) and right arrow will complete the current line with the first match
81+
# from history. (default: True)
82+
# right_arrow_completion = True

0 commit comments

Comments
 (0)