81 lines
2.5 KiB
Modula-2
81 lines
2.5 KiB
Modula-2
|
# config-extensions.def
|
||
|
#
|
||
|
# IDLE reads several config files to determine user preferences. This
|
||
|
# file is the default configuration file for IDLE extensions settings.
|
||
|
#
|
||
|
# Each extension must have at least one section, named after the extension
|
||
|
# module. This section must contain an 'enable' item (=1 to enable the
|
||
|
# 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.)
|
||
|
#
|
||
|
# Currently it is necessary to manually modify this file to change extension
|
||
|
# 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.
|
||
|
#
|
||
|
# Note: If a keybinding is already in use when the extension is
|
||
|
# loaded, the extension's virtual event's keybinding will be set to ''.
|
||
|
#
|
||
|
# See config-keys.def for notes on specifying keys and extend.txt for
|
||
|
# information on creating IDLE extensions.
|
||
|
|
||
|
[FormatParagraph]
|
||
|
enable=1
|
||
|
[FormatParagraph_cfgBindings]
|
||
|
format-paragraph=<Alt-Key-q>
|
||
|
|
||
|
[AutoExpand]
|
||
|
enable=1
|
||
|
[AutoExpand_cfgBindings]
|
||
|
expand-word=<Alt-Key-slash>
|
||
|
|
||
|
[ZoomHeight]
|
||
|
enable=1
|
||
|
[ZoomHeight_cfgBindings]
|
||
|
zoom-height=<Alt-Key-2>
|
||
|
|
||
|
[ScriptBinding]
|
||
|
enable=1
|
||
|
[ScriptBinding_cfgBindings]
|
||
|
run-module=<Key-F5>
|
||
|
check-module=<Alt-Key-x>
|
||
|
|
||
|
[CallTips]
|
||
|
enable=1
|
||
|
[CallTips_bindings]
|
||
|
paren-open=<Key-parenleft>
|
||
|
paren-close=<Key-parenright>
|
||
|
check-calltip-cancel=<KeyRelease>
|
||
|
calltip-cancel=<ButtonPress> <Key-Escape>
|
||
|
|
||
|
[ParenMatch]
|
||
|
enable=0
|
||
|
style= expression
|
||
|
flash-delay= 500
|
||
|
bell= 1
|
||
|
hilite-foreground= black
|
||
|
hilite-background= #43cd80
|
||
|
[ParenMatch_bindings]
|
||
|
flash-open-paren=<KeyRelease-parenright> <KeyRelease-bracketright> <KeyRelease-braceright>
|
||
|
check-restore=<KeyPress>
|
||
|
|
||
|
[CodeContext]
|
||
|
enable=1
|
||
|
enable_shell=0
|
||
|
numlines=3
|
||
|
visible=0
|
||
|
bgcolor=LightGray
|
||
|
fgcolor=Black
|
||
|
[CodeContext_bindings]
|
||
|
toggle-code-context=
|