blob: 39e69ce20d4f8eb41fcd4fdbf806aaaf74f2df17 [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
Andrew Svetlov4ca222d2012-10-04 22:48:34 +030049enable_shell=0
50enable_editor=1
Kurt B. Kaiser969de452002-06-12 03:28:57 +000051[ScriptBinding_cfgBindings]
Kurt B. Kaisereb9637e2003-01-26 04:17:16 +000052run-module=<Key-F5>
Kurt B. Kaiser318016b2002-12-03 20:34:43 +000053check-module=<Alt-Key-x>
Steven M. Gavac11ccf32001-09-24 09:43:17 +000054
55[CallTips]
56enable=1
Kurt B. Kaiserb1754452005-11-18 22:05:48 +000057[CallTips_cfgBindings]
58force-open-calltip=<Control-Key-backslash>
Steven M. Gava72c3bf02002-01-19 10:41:51 +000059[CallTips_bindings]
Kurt B. Kaiserb1754452005-11-18 22:05:48 +000060try-open-calltip=<KeyRelease-parenleft>
61refresh-calltip=<KeyRelease-parenright> <KeyRelease-0>
Steven M. Gavac11ccf32001-09-24 09:43:17 +000062
63[ParenMatch]
Kurt B. Kaiserb1754452005-11-18 22:05:48 +000064enable=1
Steven M. Gavac11ccf32001-09-24 09:43:17 +000065style= expression
66flash-delay= 500
67bell= 1
Kurt B. Kaiserb1754452005-11-18 22:05:48 +000068[ParenMatch_cfgBindings]
69flash-paren=<Control-Key-0>
Steven M. Gava72c3bf02002-01-19 10:41:51 +000070[ParenMatch_bindings]
Kurt B. Kaiserb1754452005-11-18 22:05:48 +000071paren-closed=<KeyRelease-parenright> <KeyRelease-bracketright> <KeyRelease-braceright>
72
73[AutoComplete]
74enable=1
Kurt B. Kaiser2bf2af62005-11-22 01:52:22 +000075popupwait=2000
Kurt B. Kaiserb1754452005-11-18 22:05:48 +000076[AutoComplete_cfgBindings]
77force-open-completions=<Control-Key-space>
78[AutoComplete_bindings]
79autocomplete=<Key-Tab>
80try-open-completions=<KeyRelease-period> <KeyRelease-slash> <KeyRelease-backslash>
Kurt B. Kaiser54d1a3b2004-04-21 20:06:26 +000081
82[CodeContext]
83enable=1
Kurt B. Kaiser4d5bc602004-06-06 01:29:22 +000084enable_shell=0
Kurt B. Kaiser54d1a3b2004-04-21 20:06:26 +000085numlines=3
Kurt B. Kaiser4d5bc602004-06-06 01:29:22 +000086visible=0
Kurt B. Kaiser54d1a3b2004-04-21 20:06:26 +000087bgcolor=LightGray
88fgcolor=Black
Kurt B. Kaiserd00587a2004-04-24 03:08:13 +000089[CodeContext_bindings]
90toggle-code-context=
Raymond Hettingereb816952009-05-29 01:22:18 +000091
92[RstripExtension]
93enable=1
94enable_shell=0
95enable_editor=1
96