blob: acdb359e763cc170bd2fab830b76d4bb9334ded0 [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[AutoIndent]
21enable=1
Steven M. Gava72c3bf02002-01-19 10:41:51 +000022[AutoIndent_cfgBindings]
23smart-backspace=<Key-BackSpace>
24newline-and-indent=<Key-Return> <Key-KP_Enter>
25smart-indent=<Key-Tab>
26indent-region=<Control-Key-bracketright>
27dedent-region=<Control-Key-bracketleft>
28comment-region=<Alt-Key-3>
29uncomment-region=<Alt-Key-4>
30tabify-region=<Alt-Key-5>
31untabify-region=<Alt-Key-6>
32toggle-tabs=<Alt-Key-t>
33change-indentwidth=<Alt-Key-u>
Steven M. Gavac11ccf32001-09-24 09:43:17 +000034
35[AutoExpand]
36enable=1
Steven M. Gava72c3bf02002-01-19 10:41:51 +000037[AutoExpand_cfgBindings]
38expand-word=<Alt-Key-slash>
Steven M. Gavac11ccf32001-09-24 09:43:17 +000039
Steven M. Gavac11ccf32001-09-24 09:43:17 +000040[ZoomHeight]
41enable=1
Steven M. Gava72c3bf02002-01-19 10:41:51 +000042[ZoomHeight_cfgBindings]
43zoom-height=<Alt-Key-F2>
Steven M. Gavac11ccf32001-09-24 09:43:17 +000044
45[ExecBinding]
46enable=1
Steven M. Gava72c3bf02002-01-19 10:41:51 +000047[ExecBinding_cfgBindings]
48run-complete-script=<Key-F5>
49stop-execution=<Key-Cancel>
50
51#[ScriptBinding] #currently ExecBinding has replaced ScriptBinding
52#enable=0
53#[ScriptBinding_cfgBindings]
54#run-script=<Key-F5>
55#check-module=<Alt-Key-F5> <Meta-Key-F5>
56#import-module=<Control-Key-F5>
Steven M. Gavac11ccf32001-09-24 09:43:17 +000057
58[CallTips]
59enable=1
Steven M. Gava72c3bf02002-01-19 10:41:51 +000060[CallTips_bindings]
61paren-open=<Key-parenleft>
62paren-close=<Key-parenright>
63check-calltip-cancel=<KeyRelease>
64calltip-cancel=<ButtonPress> <Key-Escape>
Steven M. Gavac11ccf32001-09-24 09:43:17 +000065
66[ParenMatch]
67enable=0
68style= expression
69flash-delay= 500
70bell= 1
71hilite-foreground= black
72hilite-background= #43cd80
Steven M. Gava72c3bf02002-01-19 10:41:51 +000073[ParenMatch_bindings]
74flash-open-paren=<KeyRelease-parenright> <KeyRelease-bracketright> <KeyRelease-braceright>
75check-restore=<KeyPress>