X Tutup
Skip to content

Commit 22f2aaa

Browse files
committed
Sort values
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
1 parent 63517a7 commit 22f2aaa

File tree

1 file changed

+20
-19
lines changed

1 file changed

+20
-19
lines changed

bpython/config.py

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -67,59 +67,60 @@ def loadini(struct, configfile):
6767
'general': {
6868
'arg_spec': True,
6969
'auto_display_list': True,
70+
'autocomplete_mode': default_completion,
7071
'color_scheme': 'default',
7172
'complete_magic_methods': True,
72-
'autocomplete_mode': default_completion,
7373
'dedent_after': 1,
74+
'editor': os.environ.get('VISUAL', os.environ.get('EDITOR', 'vi')),
7475
'flush_output': True,
7576
'highlight_show_source': True,
77+
'hist_duplicates': True,
7678
'hist_file': '~/.pythonhist',
7779
'hist_length': 100,
78-
'hist_duplicates': True,
7980
'paste_time': 0.02,
80-
'single_undo_time': 1.0,
81-
'syntax': True,
82-
'tab_length': 4,
8381
'pastebin_confirm': True,
84-
'pastebin_url': 'https://bpaste.net/json/new',
85-
'pastebin_show_url': 'https://bpaste.net/show/$paste_id',
86-
'pastebin_removal_url': 'https://bpaste.net/remove/$removal_id',
8782
'pastebin_expiry': '1week',
8883
'pastebin_helper': '',
84+
'pastebin_removal_url': 'https://bpaste.net/remove/$removal_id',
85+
'pastebin_show_url': 'https://bpaste.net/show/$paste_id',
86+
'pastebin_url': 'https://bpaste.net/json/new',
8987
'save_append_py': False,
90-
'editor': os.environ.get('VISUAL', os.environ.get('EDITOR', 'vi')),
88+
'single_undo_time': 1.0,
89+
'syntax': True,
90+
'tab_length': 4,
9191
'unicode_box': True
9292
},
9393
'keyboard': {
9494
'backspace': 'C-h',
95-
'left': 'C-b',
96-
'right': 'C-f',
9795
'beginning_of_line': 'C-a',
98-
'end_of_line': 'C-e',
99-
'transpose_chars': 'C-t',
10096
'clear_line': 'C-u',
10197
'clear_screen': 'C-l',
10298
'clear_word': 'C-w',
99+
'copy_clipboard': 'F10',
103100
'cut_to_buffer': 'C-k',
104101
'delete': 'C-d',
105102
'down_one_line': 'C-n',
106-
'exit': '',
107-
'external_editor': 'F7',
108103
'edit_config': 'F3',
109104
'edit_current_block': 'C-x',
105+
'end_of_line': 'C-e',
106+
'exit': '',
107+
'external_editor': 'F7',
110108
'help': 'F1',
111109
'last_output': 'F9',
112-
'copy_clipboard': 'F10',
110+
'left': 'C-b',
113111
'pastebin': 'F8',
112+
'reimport': 'F6',
113+
'right': 'C-f',
114114
'save': 'C-s',
115+
'search': 'C-o',
115116
'show_source': 'F2',
116117
'suspend': 'C-z',
117118
'toggle_file_watch': 'F5',
119+
'transpose_chars': 'C-t',
118120
'undo': 'C-r',
119-
'reimport': 'F6',
120-
'search': 'C-o',
121121
'up_one_line': 'C-p',
122-
'yank_from_buffer': 'C-y'},
122+
'yank_from_buffer': 'C-y'
123+
},
123124
'cli': {
124125
'suggestion_width': 0.8,
125126
'trim_prompts': False,

0 commit comments

Comments
 (0)
X Tutup