blob: 39f9098c0ecbbabf82003803b765fe2339cdd35d [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. Kaiserd00587a2004-04-24 03:08:13 +00006# extension, =0 to disable it) and also contain any other general configuration
7# items for the extension. Each extension must define at least one section
8# named ExtensionName_bindings or ExtensionName_cfgBindings. If present,
9# ExtensionName_bindings defines virtual event bindings for the extension that
10# are not user re-configurable. If present, ExtensionName_cfgBindings
11# defines virtual event bindings for the extension that may be sensibly
12# re-configured. If there are no keybindings for a menus' virtual events,
13# include lines like <<toggle-code-context>>= (See [CodeContext], below.)
Kurt B. Kaiser318016b2002-12-03 20:34:43 +000014
Kurt B. Kaisercca91222003-07-16 03:10:43 +000015# Currently it is necessary to manually modify this file to change extension
Kurt B. Kaiser54d1a3b2004-04-21 20:06:26 +000016# key bindings and default values. To customize, create
17# ~/.idlerc/config-extensions.cfg and append the appropriate customized
18# section(s). Those sections will override the defaults in this file.
19
20# Note: If a keybinding is already in use when the extension is
Kurt B. Kaisercca91222003-07-16 03:10:43 +000021# loaded, the extension's virtual event's keybinding will be set to ''.
22
Kurt B. Kaiser54d1a3b2004-04-21 20:06:26 +000023# See config-keys.def for notes on specifying keys and extend.txt for
24# information on creating IDLE extensions.
Steven M. Gavac11ccf32001-09-24 09:43:17 +000025
Steven M. Gava0cae01c2002-01-04 07:53:06 +000026[FormatParagraph]
27enable=1
Steven M. Gava72c3bf02002-01-19 10:41:51 +000028[FormatParagraph_cfgBindings]
29format-paragraph=<Alt-Key-q>
Steven M. Gava0cae01c2002-01-04 07:53:06 +000030
Steven M. Gavac11ccf32001-09-24 09:43:17 +000031[AutoExpand]
32enable=1
Steven M. Gava72c3bf02002-01-19 10:41:51 +000033[AutoExpand_cfgBindings]
34expand-word=<Alt-Key-slash>
Steven M. Gavac11ccf32001-09-24 09:43:17 +000035
Steven M. Gavac11ccf32001-09-24 09:43:17 +000036[ZoomHeight]
37enable=1
Steven M. Gava72c3bf02002-01-19 10:41:51 +000038[ZoomHeight_cfgBindings]
Kurt B. Kaiser710fa6c2002-12-23 03:35:27 +000039zoom-height=<Alt-Key-2>
Steven M. Gava72c3bf02002-01-19 10:41:51 +000040
Kurt B. Kaiser969de452002-06-12 03:28:57 +000041[ScriptBinding]
42enable=1
43[ScriptBinding_cfgBindings]
Kurt B. Kaisereb9637e2003-01-26 04:17:16 +000044run-module=<Key-F5>
Kurt B. Kaiser318016b2002-12-03 20:34:43 +000045check-module=<Alt-Key-x>
Steven M. Gavac11ccf32001-09-24 09:43:17 +000046
47[CallTips]
48enable=1
Steven M. Gava72c3bf02002-01-19 10:41:51 +000049[CallTips_bindings]
50paren-open=<Key-parenleft>
51paren-close=<Key-parenright>
52check-calltip-cancel=<KeyRelease>
53calltip-cancel=<ButtonPress> <Key-Escape>
Steven M. Gavac11ccf32001-09-24 09:43:17 +000054
55[ParenMatch]
56enable=0
57style= expression
58flash-delay= 500
59bell= 1
60hilite-foreground= black
61hilite-background= #43cd80
Steven M. Gava72c3bf02002-01-19 10:41:51 +000062[ParenMatch_bindings]
63flash-open-paren=<KeyRelease-parenright> <KeyRelease-bracketright> <KeyRelease-braceright>
64check-restore=<KeyPress>
Kurt B. Kaiser54d1a3b2004-04-21 20:06:26 +000065
66[CodeContext]
67enable=1
68numlines=3
Kurt B. Kaiserd00587a2004-04-24 03:08:13 +000069default_on=0
Kurt B. Kaiser54d1a3b2004-04-21 20:06:26 +000070bgcolor=LightGray
71fgcolor=Black
Kurt B. Kaiserd00587a2004-04-24 03:08:13 +000072[CodeContext_bindings]
73toggle-code-context=