config-extensions.def 2.69 KB
Newer Older
1 2
# config-extensions.def
#
3
# IDLE reads several config files to determine user preferences.  This
4
# file is the default configuration file for IDLE extensions settings.
5 6
#
# Each extension must have at least one section, named after the extension
7
# module. This section must contain an 'enable' item (=1 to enable the
8 9 10 11 12 13 14 15 16 17 18 19 20
# extension, =0 to disable it), it may contain 'enable_editor' or 'enable_shell'
# items, to apply it only to editor/shell windows, and may also contain any
# other general configuration items for the extension.
#
# Each extension must define at least one section named ExtensionName_bindings
# or ExtensionName_cfgBindings. If present, ExtensionName_bindings defines
# virtual event bindings for the extension that are not user re-configurable.
# If present, ExtensionName_cfgBindings defines virtual event bindings for the
# extension that may be sensibly re-configured.
#
# If there are no keybindings for a menus' virtual events, include lines like
# <<toggle-code-context>>=   (See [CodeContext], below.)
#
21
# Currently it is necessary to manually modify this file to change extension
22 23 24
# key bindings and default values. To customize, create
# ~/.idlerc/config-extensions.cfg and append the appropriate customized
# section(s).  Those sections will override the defaults in this file.
25
#
26
# Note: If a keybinding is already in use when the extension is
27
# loaded, the extension's virtual event's keybinding will be set to ''.
28
#
29 30
# See config-keys.def for notes on specifying keys and extend.txt for
# information on creating IDLE extensions.
31

32
[FormatParagraph]
33
enable=1
34 35
[FormatParagraph_cfgBindings]
format-paragraph=<Alt-Key-q>
36

37
[AutoExpand]
38
enable=1
39 40
[AutoExpand_cfgBindings]
expand-word=<Alt-Key-slash>
41 42 43

[ZoomHeight]
enable=1
44
[ZoomHeight_cfgBindings]
45
zoom-height=<Alt-Key-2>
46

47 48 49
[ScriptBinding]
enable=1
[ScriptBinding_cfgBindings]
Kurt B. Kaiser's avatar
Kurt B. Kaiser committed
50
run-module=<Key-F5>
51
check-module=<Alt-Key-x>
52 53 54

[CallTips]
enable=1
55 56
[CallTips_cfgBindings]
force-open-calltip=<Control-Key-backslash>
57
[CallTips_bindings]
58 59
try-open-calltip=<KeyRelease-parenleft>
refresh-calltip=<KeyRelease-parenright> <KeyRelease-0>
60 61

[ParenMatch]
62
enable=1
63 64 65
style= expression
flash-delay= 500
bell= 1
66 67
[ParenMatch_cfgBindings]
flash-paren=<Control-Key-0>
68
[ParenMatch_bindings]
69 70 71 72
paren-closed=<KeyRelease-parenright> <KeyRelease-bracketright> <KeyRelease-braceright>

[AutoComplete]
enable=1
73
popupwait=2000
74 75 76 77 78
[AutoComplete_cfgBindings]
force-open-completions=<Control-Key-space>
[AutoComplete_bindings]
autocomplete=<Key-Tab>
try-open-completions=<KeyRelease-period> <KeyRelease-slash> <KeyRelease-backslash>
79 80 81

[CodeContext]
enable=1
82
enable_shell=0
83
numlines=3
84
visible=0
85 86
bgcolor=LightGray
fgcolor=Black
87 88
[CodeContext_bindings]
toggle-code-context=
89 90 91 92 93 94

[RstripExtension]
enable=1
enable_shell=0
enable_editor=1