Kurt B. Kaiser | 282f122 | 2003-05-18 02:21:55 +0000 | [diff] [blame] | 1 | # IDLE reads several config files to determine user preferences. This |
Kurt B. Kaiser | cca9122 | 2003-07-16 03:10:43 +0000 | [diff] [blame] | 2 | # file is the default configuration file for IDLE extensions settings. |
Steven M. Gava | 72c3bf0 | 2002-01-19 10:41:51 +0000 | [diff] [blame] | 3 | # |
| 4 | # Each extension must have at least one section, named after the extension |
Kurt B. Kaiser | 318016b | 2002-12-03 20:34:43 +0000 | [diff] [blame] | 5 | # module. This section must contain an 'enable' item (=1 to enable the |
| 6 | # extension, =0 to disable it) and also contains any other general |
| 7 | # configuration items for the extension. Each extension may also define up to |
| 8 | # two optional sections named ExtensionName_bindings and |
| 9 | # ExtensionName_cfgBindings. If present, ExtensionName_bindings defines virtual |
| 10 | # event bindings for the extension that are not sensibly re-configurable. If |
| 11 | # present, ExtensionName_cfgBindings defines virtual event bindings for the |
| 12 | # extension that may be sensibly re-configured. |
| 13 | |
Kurt B. Kaiser | cca9122 | 2003-07-16 03:10:43 +0000 | [diff] [blame] | 14 | # Currently it is necessary to manually modify this file to change extension |
| 15 | # key bindings. Note: If a keybinding is already in use when the extension is |
| 16 | # loaded, the extension's virtual event's keybinding will be set to ''. |
| 17 | |
Steven M. Gava | e28ee75 | 2002-02-11 03:45:22 +0000 | [diff] [blame] | 18 | # See config-keys.def for notes on specifying keys. |
Steven M. Gava | c11ccf3 | 2001-09-24 09:43:17 +0000 | [diff] [blame] | 19 | |
Steven M. Gava | 0cae01c | 2002-01-04 07:53:06 +0000 | [diff] [blame] | 20 | [FormatParagraph] |
| 21 | enable=1 |
Steven M. Gava | 72c3bf0 | 2002-01-19 10:41:51 +0000 | [diff] [blame] | 22 | [FormatParagraph_cfgBindings] |
| 23 | format-paragraph=<Alt-Key-q> |
Steven M. Gava | 0cae01c | 2002-01-04 07:53:06 +0000 | [diff] [blame] | 24 | |
Steven M. Gava | c11ccf3 | 2001-09-24 09:43:17 +0000 | [diff] [blame] | 25 | [AutoExpand] |
| 26 | enable=1 |
Steven M. Gava | 72c3bf0 | 2002-01-19 10:41:51 +0000 | [diff] [blame] | 27 | [AutoExpand_cfgBindings] |
| 28 | expand-word=<Alt-Key-slash> |
Steven M. Gava | c11ccf3 | 2001-09-24 09:43:17 +0000 | [diff] [blame] | 29 | |
Steven M. Gava | c11ccf3 | 2001-09-24 09:43:17 +0000 | [diff] [blame] | 30 | [ZoomHeight] |
| 31 | enable=1 |
Steven M. Gava | 72c3bf0 | 2002-01-19 10:41:51 +0000 | [diff] [blame] | 32 | [ZoomHeight_cfgBindings] |
Kurt B. Kaiser | 710fa6c | 2002-12-23 03:35:27 +0000 | [diff] [blame] | 33 | zoom-height=<Alt-Key-2> |
Steven M. Gava | 72c3bf0 | 2002-01-19 10:41:51 +0000 | [diff] [blame] | 34 | |
Kurt B. Kaiser | 969de45 | 2002-06-12 03:28:57 +0000 | [diff] [blame] | 35 | [ScriptBinding] |
| 36 | enable=1 |
| 37 | [ScriptBinding_cfgBindings] |
Kurt B. Kaiser | eb9637e | 2003-01-26 04:17:16 +0000 | [diff] [blame] | 38 | run-module=<Key-F5> |
Kurt B. Kaiser | 318016b | 2002-12-03 20:34:43 +0000 | [diff] [blame] | 39 | check-module=<Alt-Key-x> |
Steven M. Gava | c11ccf3 | 2001-09-24 09:43:17 +0000 | [diff] [blame] | 40 | |
| 41 | [CallTips] |
| 42 | enable=1 |
Steven M. Gava | 72c3bf0 | 2002-01-19 10:41:51 +0000 | [diff] [blame] | 43 | [CallTips_bindings] |
| 44 | paren-open=<Key-parenleft> |
| 45 | paren-close=<Key-parenright> |
| 46 | check-calltip-cancel=<KeyRelease> |
| 47 | calltip-cancel=<ButtonPress> <Key-Escape> |
Steven M. Gava | c11ccf3 | 2001-09-24 09:43:17 +0000 | [diff] [blame] | 48 | |
| 49 | [ParenMatch] |
| 50 | enable=0 |
| 51 | style= expression |
| 52 | flash-delay= 500 |
| 53 | bell= 1 |
| 54 | hilite-foreground= black |
| 55 | hilite-background= #43cd80 |
Steven M. Gava | 72c3bf0 | 2002-01-19 10:41:51 +0000 | [diff] [blame] | 56 | [ParenMatch_bindings] |
| 57 | flash-open-paren=<KeyRelease-parenright> <KeyRelease-bracketright> <KeyRelease-braceright> |
| 58 | check-restore=<KeyPress> |