blob: 2c0e81fe07160c114a1838c0c62e54f0ba9d8729 [file] [log] [blame]
Steven M. Gavac11ccf32001-09-24 09:43:17 +00001# IDLE reads several config files to determine user preferences. This
2# file is the default config file for idle extensions settings.
Steven M. Gava72c3bf02002-01-19 10:41:51 +00003#
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 configuration
7# items for the extension. Each extension may also define up to two optional
8# sections named ExtensionName_bindings and ExtensionName_cfgBindings. If
9# present, ExtensionName_bindings defines virtual event bindings for the
10# extension that are not sensibly re-configurable. If present,
11# ExtensionName_cfgBindings defines virtual event bindings for the extension
12# that may be sensibly re-configured.
Steven M. Gavae28ee752002-02-11 03:45:22 +000013# See config-keys.def for notes on specifying keys.
Steven M. Gavac11ccf32001-09-24 09:43:17 +000014
Steven M. Gava0cae01c2002-01-04 07:53:06 +000015[FormatParagraph]
16enable=1
Steven M. Gava72c3bf02002-01-19 10:41:51 +000017[FormatParagraph_cfgBindings]
18format-paragraph=<Alt-Key-q>
Steven M. Gava0cae01c2002-01-04 07:53:06 +000019
Steven M. Gavac11ccf32001-09-24 09:43:17 +000020[AutoExpand]
21enable=1
Steven M. Gava72c3bf02002-01-19 10:41:51 +000022[AutoExpand_cfgBindings]
23expand-word=<Alt-Key-slash>
Steven M. Gavac11ccf32001-09-24 09:43:17 +000024
Steven M. Gavac11ccf32001-09-24 09:43:17 +000025[ZoomHeight]
26enable=1
Steven M. Gava72c3bf02002-01-19 10:41:51 +000027[ZoomHeight_cfgBindings]
28zoom-height=<Alt-Key-F2>
Steven M. Gavac11ccf32001-09-24 09:43:17 +000029
Kurt B. Kaiser969de452002-06-12 03:28:57 +000030#[ExecBinding] # Revert to ScriptBinding
31#enable=1
32#[ExecBinding_cfgBindings]
33#run-complete-script=<Key-F5>
34#stop-execution=<Key-Cancel>
Steven M. Gava72c3bf02002-01-19 10:41:51 +000035
Kurt B. Kaiser969de452002-06-12 03:28:57 +000036[ScriptBinding]
37enable=1
38[ScriptBinding_cfgBindings]
39run-script=<Key-F5>
40#check-module=<Alt-Key-F5>
Steven M. Gava72c3bf02002-01-19 10:41:51 +000041#import-module=<Control-Key-F5>
Steven M. Gavac11ccf32001-09-24 09:43:17 +000042
43[CallTips]
44enable=1
Steven M. Gava72c3bf02002-01-19 10:41:51 +000045[CallTips_bindings]
46paren-open=<Key-parenleft>
47paren-close=<Key-parenright>
48check-calltip-cancel=<KeyRelease>
49calltip-cancel=<ButtonPress> <Key-Escape>
Steven M. Gavac11ccf32001-09-24 09:43:17 +000050
51[ParenMatch]
52enable=0
53style= expression
54flash-delay= 500
55bell= 1
56hilite-foreground= black
57hilite-background= #43cd80
Steven M. Gava72c3bf02002-01-19 10:41:51 +000058[ParenMatch_bindings]
59flash-open-paren=<KeyRelease-parenright> <KeyRelease-bracketright> <KeyRelease-braceright>
60check-restore=<KeyPress>