blob: 8689fd965e8eae4c38fc47599aeb5dd350c47e96 [file] [log] [blame]
Kurt B. Kaiser4d5bc602004-06-06 01:29:22 +00001# config-extensions.def
2#
wohlganger58fc71c2017-09-10 16:19:47 -05003# The following sections are for features that are no longer extensions.
4# Their options values are left here for back-compatibility.
5
6[AutoComplete]
7popupwait= 2000
8
9[CodeContext]
10numlines= 3
11visible= False
12bgcolor= LightGray
13fgcolor= Black
14
15[FormatParagraph]
16max-width= 72
17
18[ParenMatch]
19style= expression
20flash-delay= 500
21bell= True
22
Kurt B. Kaiser282f1222003-05-18 02:21:55 +000023# IDLE reads several config files to determine user preferences. This
Kurt B. Kaisercca91222003-07-16 03:10:43 +000024# file is the default configuration file for IDLE extensions settings.
Steven M. Gava72c3bf02002-01-19 10:41:51 +000025#
Terry Jan Reedy00bdce32014-10-14 18:55:20 -040026# Each extension must have at least one section, named after the
27# extension module. This section must contain an 'enable' item (=True to
28# enable the extension, =False to disable it), it may contain
29# 'enable_editor' or 'enable_shell' items, to apply it only to editor ir
30# shell windows, and may also contain any other general configuration
31# items for the extension. Other True/False values will also be
32# recognized as boolean by the Extension Configuration dialog.
Kurt B. Kaiser4d5bc602004-06-06 01:29:22 +000033#
Terry Jan Reedy00bdce32014-10-14 18:55:20 -040034# Each extension must define at least one section named
35# ExtensionName_bindings or ExtensionName_cfgBindings. If present,
36# ExtensionName_bindings defines virtual event bindings for the
37# extension that are not user re-configurable. If present,
38# ExtensionName_cfgBindings defines virtual event bindings for the
Kurt B. Kaiser4d5bc602004-06-06 01:29:22 +000039# extension that may be sensibly re-configured.
40#
Terry Jan Reedy00bdce32014-10-14 18:55:20 -040041# If there are no keybindings for a menus' virtual events, include lines
wohlganger58fc71c2017-09-10 16:19:47 -050042# like <<toggle-code-context>>=.
Kurt B. Kaiser4d5bc602004-06-06 01:29:22 +000043#
Terry Jan Reedy00bdce32014-10-14 18:55:20 -040044# Currently it is necessary to manually modify this file to change
45# extension key bindings and default values. To customize, create
Kurt B. Kaiser54d1a3b2004-04-21 20:06:26 +000046# ~/.idlerc/config-extensions.cfg and append the appropriate customized
47# section(s). Those sections will override the defaults in this file.
Kurt B. Kaiser4d5bc602004-06-06 01:29:22 +000048#
Terry Jan Reedy00bdce32014-10-14 18:55:20 -040049# Note: If a keybinding is already in use when the extension is loaded,
50# the extension's virtual event's keybinding will be set to ''.
Kurt B. Kaiser4d5bc602004-06-06 01:29:22 +000051#
Kurt B. Kaiser54d1a3b2004-04-21 20:06:26 +000052# See config-keys.def for notes on specifying keys and extend.txt for
53# information on creating IDLE extensions.
Steven M. Gavac11ccf32001-09-24 09:43:17 +000054
wohlganger58fc71c2017-09-10 16:19:47 -050055# A fake extension for testing and example purposes. When enabled and
56# invoked, inserts or deletes z-text at beginning of every line.
57[ZzDummy]
Terry Jan Reedyd384a812017-09-14 18:51:51 -040058enable= False
wohlganger58fc71c2017-09-10 16:19:47 -050059enable_shell = False
60enable_editor = True
61z-text= Z
62[ZzDummy_cfgBindings]
63z-in= <Control-Shift-KeyRelease-Insert>
64[ZzDummy_bindings]
65z-out= <Control-Shift-KeyRelease-Delete>