blob: 00162a0539f1b5111342c2dc121c0eb3e8e75da9 [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
Kurt B. Kaiser54d1a3b2004-04-21 20:06:26 +00006# extension, =0 to disable it) and also contain any other general
Kurt B. Kaiser318016b2002-12-03 20:34:43 +00007# 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
Kurt B. Kaiser54d1a3b2004-04-21 20:06:26 +000015# key bindings and default values. To customize, create
16# ~/.idlerc/config-extensions.cfg and append the appropriate customized
17# section(s). Those sections will override the defaults in this file.
18
19# Note: If a keybinding is already in use when the extension is
Kurt B. Kaisercca91222003-07-16 03:10:43 +000020# loaded, the extension's virtual event's keybinding will be set to ''.
21
Kurt B. Kaiser54d1a3b2004-04-21 20:06:26 +000022# See config-keys.def for notes on specifying keys and extend.txt for
23# information on creating IDLE extensions.
Steven M. Gavac11ccf32001-09-24 09:43:17 +000024
Steven M. Gava0cae01c2002-01-04 07:53:06 +000025[FormatParagraph]
26enable=1
Steven M. Gava72c3bf02002-01-19 10:41:51 +000027[FormatParagraph_cfgBindings]
28format-paragraph=<Alt-Key-q>
Steven M. Gava0cae01c2002-01-04 07:53:06 +000029
Steven M. Gavac11ccf32001-09-24 09:43:17 +000030[AutoExpand]
31enable=1
Steven M. Gava72c3bf02002-01-19 10:41:51 +000032[AutoExpand_cfgBindings]
33expand-word=<Alt-Key-slash>
Steven M. Gavac11ccf32001-09-24 09:43:17 +000034
Steven M. Gavac11ccf32001-09-24 09:43:17 +000035[ZoomHeight]
36enable=1
Steven M. Gava72c3bf02002-01-19 10:41:51 +000037[ZoomHeight_cfgBindings]
Kurt B. Kaiser710fa6c2002-12-23 03:35:27 +000038zoom-height=<Alt-Key-2>
Steven M. Gava72c3bf02002-01-19 10:41:51 +000039
Kurt B. Kaiser969de452002-06-12 03:28:57 +000040[ScriptBinding]
41enable=1
42[ScriptBinding_cfgBindings]
Kurt B. Kaisereb9637e2003-01-26 04:17:16 +000043run-module=<Key-F5>
Kurt B. Kaiser318016b2002-12-03 20:34:43 +000044check-module=<Alt-Key-x>
Steven M. Gavac11ccf32001-09-24 09:43:17 +000045
46[CallTips]
47enable=1
Steven M. Gava72c3bf02002-01-19 10:41:51 +000048[CallTips_bindings]
49paren-open=<Key-parenleft>
50paren-close=<Key-parenright>
51check-calltip-cancel=<KeyRelease>
52calltip-cancel=<ButtonPress> <Key-Escape>
Steven M. Gavac11ccf32001-09-24 09:43:17 +000053
54[ParenMatch]
55enable=0
56style= expression
57flash-delay= 500
58bell= 1
59hilite-foreground= black
60hilite-background= #43cd80
Steven M. Gava72c3bf02002-01-19 10:41:51 +000061[ParenMatch_bindings]
62flash-open-paren=<KeyRelease-parenright> <KeyRelease-bracketright> <KeyRelease-braceright>
63check-restore=<KeyPress>
Kurt B. Kaiser54d1a3b2004-04-21 20:06:26 +000064
65[CodeContext]
66enable=1
67numlines=3
68bgcolor=LightGray
69fgcolor=Black