blob: c0439e6d4599e676bbd0cb699c7b63d557a27f73 [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. Gavac11ccf32001-09-24 09:43:17 +000013
Steven M. Gava0cae01c2002-01-04 07:53:06 +000014[FormatParagraph]
15enable=1
Steven M. Gava72c3bf02002-01-19 10:41:51 +000016[FormatParagraph_cfgBindings]
17format-paragraph=<Alt-Key-q>
Steven M. Gava0cae01c2002-01-04 07:53:06 +000018
Steven M. Gavac11ccf32001-09-24 09:43:17 +000019[AutoIndent]
20enable=1
Steven M. Gava72c3bf02002-01-19 10:41:51 +000021[AutoIndent_cfgBindings]
22smart-backspace=<Key-BackSpace>
23newline-and-indent=<Key-Return> <Key-KP_Enter>
24smart-indent=<Key-Tab>
25indent-region=<Control-Key-bracketright>
26dedent-region=<Control-Key-bracketleft>
27comment-region=<Alt-Key-3>
28uncomment-region=<Alt-Key-4>
29tabify-region=<Alt-Key-5>
30untabify-region=<Alt-Key-6>
31toggle-tabs=<Alt-Key-t>
32change-indentwidth=<Alt-Key-u>
Steven M. Gavac11ccf32001-09-24 09:43:17 +000033
34[AutoExpand]
35enable=1
Steven M. Gava72c3bf02002-01-19 10:41:51 +000036[AutoExpand_cfgBindings]
37expand-word=<Alt-Key-slash>
Steven M. Gavac11ccf32001-09-24 09:43:17 +000038
Steven M. Gavac11ccf32001-09-24 09:43:17 +000039[ZoomHeight]
40enable=1
Steven M. Gava72c3bf02002-01-19 10:41:51 +000041[ZoomHeight_cfgBindings]
42zoom-height=<Alt-Key-F2>
Steven M. Gavac11ccf32001-09-24 09:43:17 +000043
44[ExecBinding]
45enable=1
Steven M. Gava72c3bf02002-01-19 10:41:51 +000046[ExecBinding_cfgBindings]
47run-complete-script=<Key-F5>
48stop-execution=<Key-Cancel>
49
50#[ScriptBinding] #currently ExecBinding has replaced ScriptBinding
51#enable=0
52#[ScriptBinding_cfgBindings]
53#run-script=<Key-F5>
54#check-module=<Alt-Key-F5> <Meta-Key-F5>
55#import-module=<Control-Key-F5>
Steven M. Gavac11ccf32001-09-24 09:43:17 +000056
57[CallTips]
58enable=1
Steven M. Gava72c3bf02002-01-19 10:41:51 +000059[CallTips_bindings]
60paren-open=<Key-parenleft>
61paren-close=<Key-parenright>
62check-calltip-cancel=<KeyRelease>
63calltip-cancel=<ButtonPress> <Key-Escape>
Steven M. Gavac11ccf32001-09-24 09:43:17 +000064
65[ParenMatch]
66enable=0
67style= expression
68flash-delay= 500
69bell= 1
70hilite-foreground= black
71hilite-background= #43cd80
Steven M. Gava72c3bf02002-01-19 10:41:51 +000072[ParenMatch_bindings]
73flash-open-paren=<KeyRelease-parenright> <KeyRelease-bracketright> <KeyRelease-braceright>
74check-restore=<KeyPress>