blob: d4905e83364747589dd490c3794fffe165b39017 [file] [log] [blame]
Guido van Rossum57cd21f2003-04-29 10:23:27 +00001# IDLE reads several config files to determine user preferences. This
2# file is the default config file for idle extensions settings.
3#
4# Each extension must have at least one section, named after the extension
5# module. This section must contain an 'enable' item (=1 to enable the
6# extension, =0 to disable it) and also contains any other general
7# configuration items for the extension. Each extension may also define up to
8# two optional sections named ExtensionName_bindings and
9# ExtensionName_cfgBindings. If present, ExtensionName_bindings defines virtual
10# event bindings for the extension that are not sensibly re-configurable. If
11# present, ExtensionName_cfgBindings defines virtual event bindings for the
12# extension that may be sensibly re-configured.
13
14# See config-keys.def for notes on specifying keys.
15
16[FormatParagraph]
17enable=1
18[FormatParagraph_cfgBindings]
19format-paragraph=<Alt-Key-q>
20
21[AutoExpand]
22enable=1
23[AutoExpand_cfgBindings]
24expand-word=<Alt-Key-slash>
25
26[ZoomHeight]
27enable=1
28[ZoomHeight_cfgBindings]
29zoom-height=<Alt-Key-2>
30
31[ScriptBinding]
32enable=1
33[ScriptBinding_cfgBindings]
34run-module=<Key-F5>
35check-module=<Alt-Key-x>
36
37[CallTips]
38enable=1
39[CallTips_bindings]
40paren-open=<Key-parenleft>
41paren-close=<Key-parenright>
42check-calltip-cancel=<KeyRelease>
43calltip-cancel=<ButtonPress> <Key-Escape>
44
45[ParenMatch]
46enable=0
47style= expression
48flash-delay= 500
49bell= 1
50hilite-foreground= black
51hilite-background= #43cd80
52[ParenMatch_bindings]
53flash-open-paren=<KeyRelease-parenright> <KeyRelease-bracketright> <KeyRelease-braceright>
54check-restore=<KeyPress>