blob: 2d5cf6822e8edf845cbf2f9b4d46778f56cabe79 [file] [log] [blame]
Kurt B. Kaiser4d5bc602004-06-06 01:29:22 +00001# config-extensions.def
2#
Kurt B. Kaiser282f1222003-05-18 02:21:55 +00003# IDLE reads several config files to determine user preferences. This
Kurt B. Kaisercca91222003-07-16 03:10:43 +00004# file is the default configuration file for IDLE extensions settings.
Steven M. Gava72c3bf02002-01-19 10:41:51 +00005#
6# Each extension must have at least one section, named after the extension
Kurt B. Kaiser318016b2002-12-03 20:34:43 +00007# module. This section must contain an 'enable' item (=1 to enable the
Kurt B. Kaiser4d5bc602004-06-06 01:29:22 +00008# extension, =0 to disable it), it may contain 'enable_editor' or 'enable_shell'
9# items, to apply it only to editor/shell windows, and may also contain any
10# other general configuration items for the extension.
11#
12# Each extension must define at least one section named ExtensionName_bindings
13# or ExtensionName_cfgBindings. If present, ExtensionName_bindings defines
14# virtual event bindings for the extension that are not user re-configurable.
15# If present, ExtensionName_cfgBindings defines virtual event bindings for the
16# extension that may be sensibly re-configured.
17#
18# If there are no keybindings for a menus' virtual events, include lines like
19# <<toggle-code-context>>= (See [CodeContext], below.)
20#
Kurt B. Kaisercca91222003-07-16 03:10:43 +000021# Currently it is necessary to manually modify this file to change extension
Kurt B. Kaiser54d1a3b2004-04-21 20:06:26 +000022# key bindings and default values. To customize, create
23# ~/.idlerc/config-extensions.cfg and append the appropriate customized
24# section(s). Those sections will override the defaults in this file.
Kurt B. Kaiser4d5bc602004-06-06 01:29:22 +000025#
Kurt B. Kaiser54d1a3b2004-04-21 20:06:26 +000026# Note: If a keybinding is already in use when the extension is
Kurt B. Kaisercca91222003-07-16 03:10:43 +000027# loaded, the extension's virtual event's keybinding will be set to ''.
Kurt B. Kaiser4d5bc602004-06-06 01:29:22 +000028#
Kurt B. Kaiser54d1a3b2004-04-21 20:06:26 +000029# See config-keys.def for notes on specifying keys and extend.txt for
30# information on creating IDLE extensions.
Steven M. Gavac11ccf32001-09-24 09:43:17 +000031
Steven M. Gava0cae01c2002-01-04 07:53:06 +000032[FormatParagraph]
33enable=1
Steven M. Gava72c3bf02002-01-19 10:41:51 +000034[FormatParagraph_cfgBindings]
35format-paragraph=<Alt-Key-q>
Steven M. Gava0cae01c2002-01-04 07:53:06 +000036
Steven M. Gavac11ccf32001-09-24 09:43:17 +000037[AutoExpand]
38enable=1
Steven M. Gava72c3bf02002-01-19 10:41:51 +000039[AutoExpand_cfgBindings]
40expand-word=<Alt-Key-slash>
Steven M. Gavac11ccf32001-09-24 09:43:17 +000041
Steven M. Gavac11ccf32001-09-24 09:43:17 +000042[ZoomHeight]
43enable=1
Steven M. Gava72c3bf02002-01-19 10:41:51 +000044[ZoomHeight_cfgBindings]
Kurt B. Kaiser710fa6c2002-12-23 03:35:27 +000045zoom-height=<Alt-Key-2>
Steven M. Gava72c3bf02002-01-19 10:41:51 +000046
Kurt B. Kaiser969de452002-06-12 03:28:57 +000047[ScriptBinding]
48enable=1
49[ScriptBinding_cfgBindings]
Kurt B. Kaisereb9637e2003-01-26 04:17:16 +000050run-module=<Key-F5>
Kurt B. Kaiser318016b2002-12-03 20:34:43 +000051check-module=<Alt-Key-x>
Steven M. Gavac11ccf32001-09-24 09:43:17 +000052
53[CallTips]
54enable=1
Kurt B. Kaiserb1754452005-11-18 22:05:48 +000055[CallTips_cfgBindings]
56force-open-calltip=<Control-Key-backslash>
Steven M. Gava72c3bf02002-01-19 10:41:51 +000057[CallTips_bindings]
Kurt B. Kaiserb1754452005-11-18 22:05:48 +000058try-open-calltip=<KeyRelease-parenleft>
59refresh-calltip=<KeyRelease-parenright> <KeyRelease-0>
Steven M. Gavac11ccf32001-09-24 09:43:17 +000060
61[ParenMatch]
Kurt B. Kaiserb1754452005-11-18 22:05:48 +000062enable=1
Steven M. Gavac11ccf32001-09-24 09:43:17 +000063style= expression
64flash-delay= 500
65bell= 1
Kurt B. Kaiserb1754452005-11-18 22:05:48 +000066[ParenMatch_cfgBindings]
67flash-paren=<Control-Key-0>
Steven M. Gava72c3bf02002-01-19 10:41:51 +000068[ParenMatch_bindings]
Kurt B. Kaiserb1754452005-11-18 22:05:48 +000069paren-closed=<KeyRelease-parenright> <KeyRelease-bracketright> <KeyRelease-braceright>
70
71[AutoComplete]
72enable=1
Kurt B. Kaiser2bf2af62005-11-22 01:52:22 +000073popupwait=2000
Kurt B. Kaiserb1754452005-11-18 22:05:48 +000074[AutoComplete_cfgBindings]
75force-open-completions=<Control-Key-space>
76[AutoComplete_bindings]
77autocomplete=<Key-Tab>
78try-open-completions=<KeyRelease-period> <KeyRelease-slash> <KeyRelease-backslash>
Kurt B. Kaiser54d1a3b2004-04-21 20:06:26 +000079
80[CodeContext]
81enable=1
Kurt B. Kaiser4d5bc602004-06-06 01:29:22 +000082enable_shell=0
Kurt B. Kaiser54d1a3b2004-04-21 20:06:26 +000083numlines=3
Kurt B. Kaiser4d5bc602004-06-06 01:29:22 +000084visible=0
Kurt B. Kaiser54d1a3b2004-04-21 20:06:26 +000085bgcolor=LightGray
86fgcolor=Black
Kurt B. Kaiserd00587a2004-04-24 03:08:13 +000087[CodeContext_bindings]
88toggle-code-context=