2004-06-05 22:29:22 -03:00
|
|
|
# config-extensions.def
|
|
|
|
#
|
2003-05-17 23:21:55 -03:00
|
|
|
# IDLE reads several config files to determine user preferences. This
|
2003-07-16 00:10:43 -03:00
|
|
|
# file is the default configuration file for IDLE extensions settings.
|
2002-01-19 06:41:51 -04:00
|
|
|
#
|
|
|
|
# Each extension must have at least one section, named after the extension
|
2002-12-03 16:34:43 -04:00
|
|
|
# module. This section must contain an 'enable' item (=1 to enable the
|
2004-06-05 22:29:22 -03:00
|
|
|
# extension, =0 to disable it), it may contain 'enable_editor' or 'enable_shell'
|
|
|
|
# items, to apply it only to editor/shell windows, and may also contain any
|
|
|
|
# other general configuration items for the extension.
|
|
|
|
#
|
|
|
|
# Each extension must define at least one section named ExtensionName_bindings
|
|
|
|
# or ExtensionName_cfgBindings. If present, ExtensionName_bindings defines
|
|
|
|
# virtual event bindings for the extension that are not user re-configurable.
|
|
|
|
# If present, ExtensionName_cfgBindings defines virtual event bindings for the
|
|
|
|
# extension that may be sensibly re-configured.
|
|
|
|
#
|
|
|
|
# If there are no keybindings for a menus' virtual events, include lines like
|
|
|
|
# <<toggle-code-context>>= (See [CodeContext], below.)
|
|
|
|
#
|
2003-07-16 00:10:43 -03:00
|
|
|
# Currently it is necessary to manually modify this file to change extension
|
2004-04-21 17:06:26 -03:00
|
|
|
# key bindings and default values. To customize, create
|
|
|
|
# ~/.idlerc/config-extensions.cfg and append the appropriate customized
|
|
|
|
# section(s). Those sections will override the defaults in this file.
|
2004-06-05 22:29:22 -03:00
|
|
|
#
|
2004-04-21 17:06:26 -03:00
|
|
|
# Note: If a keybinding is already in use when the extension is
|
2003-07-16 00:10:43 -03:00
|
|
|
# loaded, the extension's virtual event's keybinding will be set to ''.
|
2004-06-05 22:29:22 -03:00
|
|
|
#
|
2004-04-21 17:06:26 -03:00
|
|
|
# See config-keys.def for notes on specifying keys and extend.txt for
|
|
|
|
# information on creating IDLE extensions.
|
2001-09-24 06:43:17 -03:00
|
|
|
|
2002-01-04 03:53:06 -04:00
|
|
|
[FormatParagraph]
|
2001-09-24 06:43:17 -03:00
|
|
|
enable=1
|
2002-01-19 06:41:51 -04:00
|
|
|
[FormatParagraph_cfgBindings]
|
|
|
|
format-paragraph=<Alt-Key-q>
|
2001-09-24 06:43:17 -03:00
|
|
|
|
2002-01-04 03:53:06 -04:00
|
|
|
[AutoExpand]
|
2001-09-24 06:43:17 -03:00
|
|
|
enable=1
|
2002-01-19 06:41:51 -04:00
|
|
|
[AutoExpand_cfgBindings]
|
|
|
|
expand-word=<Alt-Key-slash>
|
2001-09-24 06:43:17 -03:00
|
|
|
|
|
|
|
[ZoomHeight]
|
|
|
|
enable=1
|
2002-01-19 06:41:51 -04:00
|
|
|
[ZoomHeight_cfgBindings]
|
2002-12-22 23:35:27 -04:00
|
|
|
zoom-height=<Alt-Key-2>
|
2002-01-19 06:41:51 -04:00
|
|
|
|
2002-06-12 00:28:57 -03:00
|
|
|
[ScriptBinding]
|
|
|
|
enable=1
|
2012-10-04 16:52:07 -03:00
|
|
|
enable_shell=0
|
|
|
|
enable_editor=1
|
2002-06-12 00:28:57 -03:00
|
|
|
[ScriptBinding_cfgBindings]
|
2003-01-26 00:17:16 -04:00
|
|
|
run-module=<Key-F5>
|
2002-12-03 16:34:43 -04:00
|
|
|
check-module=<Alt-Key-x>
|
2001-09-24 06:43:17 -03:00
|
|
|
|
|
|
|
[CallTips]
|
|
|
|
enable=1
|
2005-11-18 18:05:48 -04:00
|
|
|
[CallTips_cfgBindings]
|
|
|
|
force-open-calltip=<Control-Key-backslash>
|
2002-01-19 06:41:51 -04:00
|
|
|
[CallTips_bindings]
|
2005-11-18 18:05:48 -04:00
|
|
|
try-open-calltip=<KeyRelease-parenleft>
|
|
|
|
refresh-calltip=<KeyRelease-parenright> <KeyRelease-0>
|
2001-09-24 06:43:17 -03:00
|
|
|
|
|
|
|
[ParenMatch]
|
2005-11-18 18:05:48 -04:00
|
|
|
enable=1
|
2001-09-24 06:43:17 -03:00
|
|
|
style= expression
|
|
|
|
flash-delay= 500
|
|
|
|
bell= 1
|
2005-11-18 18:05:48 -04:00
|
|
|
[ParenMatch_cfgBindings]
|
|
|
|
flash-paren=<Control-Key-0>
|
2002-01-19 06:41:51 -04:00
|
|
|
[ParenMatch_bindings]
|
2005-11-18 18:05:48 -04:00
|
|
|
paren-closed=<KeyRelease-parenright> <KeyRelease-bracketright> <KeyRelease-braceright>
|
|
|
|
|
|
|
|
[AutoComplete]
|
|
|
|
enable=1
|
2005-11-21 21:52:22 -04:00
|
|
|
popupwait=2000
|
2005-11-18 18:05:48 -04:00
|
|
|
[AutoComplete_cfgBindings]
|
|
|
|
force-open-completions=<Control-Key-space>
|
|
|
|
[AutoComplete_bindings]
|
|
|
|
autocomplete=<Key-Tab>
|
|
|
|
try-open-completions=<KeyRelease-period> <KeyRelease-slash> <KeyRelease-backslash>
|
2004-04-21 17:06:26 -03:00
|
|
|
|
|
|
|
[CodeContext]
|
|
|
|
enable=1
|
2004-06-05 22:29:22 -03:00
|
|
|
enable_shell=0
|
2004-04-21 17:06:26 -03:00
|
|
|
numlines=3
|
2004-06-05 22:29:22 -03:00
|
|
|
visible=0
|
2004-04-21 17:06:26 -03:00
|
|
|
bgcolor=LightGray
|
|
|
|
fgcolor=Black
|
2004-04-24 00:08:13 -03:00
|
|
|
[CodeContext_bindings]
|
|
|
|
toggle-code-context=
|
2009-05-28 22:36:26 -03:00
|
|
|
|
|
|
|
[RstripExtension]
|
|
|
|
enable=1
|
|
|
|
enable_shell=0
|
|
|
|
enable_editor=1
|
|
|
|
|