blob: 1a02805bb3457be20f3aea7b9a7502b6a2efb797 [file] [log] [blame]
Kurt B. Kaiser282f1222003-05-18 02:21:55 +00001# IDLE reads several config files to determine user preferences. This
Kurt B. Kaisercca91222003-07-16 03:10:43 +00002# file is the default configuration 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
Kurt B. Kaiser318016b2002-12-03 20:34:43 +00005# 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
Kurt B. Kaisercca91222003-07-16 03:10:43 +000014# Currently it is necessary to manually modify this file to change extension
15# key bindings. Note: If a keybinding is already in use when the extension is
16# loaded, the extension's virtual event's keybinding will be set to ''.
17
Steven M. Gavae28ee752002-02-11 03:45:22 +000018# See config-keys.def for notes on specifying keys.
Steven M. Gavac11ccf32001-09-24 09:43:17 +000019
Steven M. Gava0cae01c2002-01-04 07:53:06 +000020[FormatParagraph]
21enable=1
Steven M. Gava72c3bf02002-01-19 10:41:51 +000022[FormatParagraph_cfgBindings]
23format-paragraph=<Alt-Key-q>
Steven M. Gava0cae01c2002-01-04 07:53:06 +000024
Steven M. Gavac11ccf32001-09-24 09:43:17 +000025[AutoExpand]
26enable=1
Steven M. Gava72c3bf02002-01-19 10:41:51 +000027[AutoExpand_cfgBindings]
28expand-word=<Alt-Key-slash>
Steven M. Gavac11ccf32001-09-24 09:43:17 +000029
Steven M. Gavac11ccf32001-09-24 09:43:17 +000030[ZoomHeight]
31enable=1
Steven M. Gava72c3bf02002-01-19 10:41:51 +000032[ZoomHeight_cfgBindings]
Kurt B. Kaiser710fa6c2002-12-23 03:35:27 +000033zoom-height=<Alt-Key-2>
Steven M. Gava72c3bf02002-01-19 10:41:51 +000034
Kurt B. Kaiser969de452002-06-12 03:28:57 +000035[ScriptBinding]
36enable=1
37[ScriptBinding_cfgBindings]
Kurt B. Kaisereb9637e2003-01-26 04:17:16 +000038run-module=<Key-F5>
Kurt B. Kaiser318016b2002-12-03 20:34:43 +000039check-module=<Alt-Key-x>
Steven M. Gavac11ccf32001-09-24 09:43:17 +000040
41[CallTips]
42enable=1
Steven M. Gava72c3bf02002-01-19 10:41:51 +000043[CallTips_bindings]
44paren-open=<Key-parenleft>
45paren-close=<Key-parenright>
46check-calltip-cancel=<KeyRelease>
47calltip-cancel=<ButtonPress> <Key-Escape>
Steven M. Gavac11ccf32001-09-24 09:43:17 +000048
49[ParenMatch]
50enable=0
51style= expression
52flash-delay= 500
53bell= 1
54hilite-foreground= black
55hilite-background= #43cd80
Steven M. Gava72c3bf02002-01-19 10:41:51 +000056[ParenMatch_bindings]
57flash-open-paren=<KeyRelease-parenright> <KeyRelease-bracketright> <KeyRelease-braceright>
58check-restore=<KeyPress>