Kurt B. Kaiser | 4d5bc60 | 2004-06-06 01:29:22 +0000 | [diff] [blame] | 1 | # config-extensions.def |
| 2 | # |
Kurt B. Kaiser | 282f122 | 2003-05-18 02:21:55 +0000 | [diff] [blame] | 3 | # IDLE reads several config files to determine user preferences. This |
Kurt B. Kaiser | cca9122 | 2003-07-16 03:10:43 +0000 | [diff] [blame] | 4 | # file is the default configuration file for IDLE extensions settings. |
Steven M. Gava | 72c3bf0 | 2002-01-19 10:41:51 +0000 | [diff] [blame] | 5 | # |
| 6 | # 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] | 7 | # module. This section must contain an 'enable' item (=1 to enable the |
Kurt B. Kaiser | 4d5bc60 | 2004-06-06 01:29:22 +0000 | [diff] [blame] | 8 | # 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. Kaiser | cca9122 | 2003-07-16 03:10:43 +0000 | [diff] [blame] | 21 | # Currently it is necessary to manually modify this file to change extension |
Kurt B. Kaiser | 54d1a3b | 2004-04-21 20:06:26 +0000 | [diff] [blame] | 22 | # 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. Kaiser | 4d5bc60 | 2004-06-06 01:29:22 +0000 | [diff] [blame] | 25 | # |
Kurt B. Kaiser | 54d1a3b | 2004-04-21 20:06:26 +0000 | [diff] [blame] | 26 | # Note: If a keybinding is already in use when the extension is |
Kurt B. Kaiser | cca9122 | 2003-07-16 03:10:43 +0000 | [diff] [blame] | 27 | # loaded, the extension's virtual event's keybinding will be set to ''. |
Kurt B. Kaiser | 4d5bc60 | 2004-06-06 01:29:22 +0000 | [diff] [blame] | 28 | # |
Kurt B. Kaiser | 54d1a3b | 2004-04-21 20:06:26 +0000 | [diff] [blame] | 29 | # See config-keys.def for notes on specifying keys and extend.txt for |
| 30 | # information on creating IDLE extensions. |
Steven M. Gava | c11ccf3 | 2001-09-24 09:43:17 +0000 | [diff] [blame] | 31 | |
Steven M. Gava | 0cae01c | 2002-01-04 07:53:06 +0000 | [diff] [blame] | 32 | [FormatParagraph] |
| 33 | enable=1 |
Steven M. Gava | 72c3bf0 | 2002-01-19 10:41:51 +0000 | [diff] [blame] | 34 | [FormatParagraph_cfgBindings] |
| 35 | format-paragraph=<Alt-Key-q> |
Steven M. Gava | 0cae01c | 2002-01-04 07:53:06 +0000 | [diff] [blame] | 36 | |
Steven M. Gava | c11ccf3 | 2001-09-24 09:43:17 +0000 | [diff] [blame] | 37 | [AutoExpand] |
| 38 | enable=1 |
Steven M. Gava | 72c3bf0 | 2002-01-19 10:41:51 +0000 | [diff] [blame] | 39 | [AutoExpand_cfgBindings] |
| 40 | expand-word=<Alt-Key-slash> |
Steven M. Gava | c11ccf3 | 2001-09-24 09:43:17 +0000 | [diff] [blame] | 41 | |
Steven M. Gava | c11ccf3 | 2001-09-24 09:43:17 +0000 | [diff] [blame] | 42 | [ZoomHeight] |
| 43 | enable=1 |
Steven M. Gava | 72c3bf0 | 2002-01-19 10:41:51 +0000 | [diff] [blame] | 44 | [ZoomHeight_cfgBindings] |
Kurt B. Kaiser | 710fa6c | 2002-12-23 03:35:27 +0000 | [diff] [blame] | 45 | zoom-height=<Alt-Key-2> |
Steven M. Gava | 72c3bf0 | 2002-01-19 10:41:51 +0000 | [diff] [blame] | 46 | |
Kurt B. Kaiser | 969de45 | 2002-06-12 03:28:57 +0000 | [diff] [blame] | 47 | [ScriptBinding] |
| 48 | enable=1 |
| 49 | [ScriptBinding_cfgBindings] |
Kurt B. Kaiser | eb9637e | 2003-01-26 04:17:16 +0000 | [diff] [blame] | 50 | run-module=<Key-F5> |
Kurt B. Kaiser | 318016b | 2002-12-03 20:34:43 +0000 | [diff] [blame] | 51 | check-module=<Alt-Key-x> |
Steven M. Gava | c11ccf3 | 2001-09-24 09:43:17 +0000 | [diff] [blame] | 52 | |
| 53 | [CallTips] |
| 54 | enable=1 |
Kurt B. Kaiser | b175445 | 2005-11-18 22:05:48 +0000 | [diff] [blame] | 55 | [CallTips_cfgBindings] |
| 56 | force-open-calltip=<Control-Key-backslash> |
Steven M. Gava | 72c3bf0 | 2002-01-19 10:41:51 +0000 | [diff] [blame] | 57 | [CallTips_bindings] |
Kurt B. Kaiser | b175445 | 2005-11-18 22:05:48 +0000 | [diff] [blame] | 58 | try-open-calltip=<KeyRelease-parenleft> |
| 59 | refresh-calltip=<KeyRelease-parenright> <KeyRelease-0> |
Steven M. Gava | c11ccf3 | 2001-09-24 09:43:17 +0000 | [diff] [blame] | 60 | |
| 61 | [ParenMatch] |
Kurt B. Kaiser | b175445 | 2005-11-18 22:05:48 +0000 | [diff] [blame] | 62 | enable=1 |
Steven M. Gava | c11ccf3 | 2001-09-24 09:43:17 +0000 | [diff] [blame] | 63 | style= expression |
| 64 | flash-delay= 500 |
| 65 | bell= 1 |
Kurt B. Kaiser | b175445 | 2005-11-18 22:05:48 +0000 | [diff] [blame] | 66 | [ParenMatch_cfgBindings] |
| 67 | flash-paren=<Control-Key-0> |
Steven M. Gava | 72c3bf0 | 2002-01-19 10:41:51 +0000 | [diff] [blame] | 68 | [ParenMatch_bindings] |
Kurt B. Kaiser | b175445 | 2005-11-18 22:05:48 +0000 | [diff] [blame] | 69 | paren-closed=<KeyRelease-parenright> <KeyRelease-bracketright> <KeyRelease-braceright> |
| 70 | |
| 71 | [AutoComplete] |
| 72 | enable=1 |
Kurt B. Kaiser | 2bf2af6 | 2005-11-22 01:52:22 +0000 | [diff] [blame] | 73 | popupwait=2000 |
Kurt B. Kaiser | b175445 | 2005-11-18 22:05:48 +0000 | [diff] [blame] | 74 | [AutoComplete_cfgBindings] |
| 75 | force-open-completions=<Control-Key-space> |
| 76 | [AutoComplete_bindings] |
| 77 | autocomplete=<Key-Tab> |
| 78 | try-open-completions=<KeyRelease-period> <KeyRelease-slash> <KeyRelease-backslash> |
Kurt B. Kaiser | 54d1a3b | 2004-04-21 20:06:26 +0000 | [diff] [blame] | 79 | |
| 80 | [CodeContext] |
| 81 | enable=1 |
Kurt B. Kaiser | 4d5bc60 | 2004-06-06 01:29:22 +0000 | [diff] [blame] | 82 | enable_shell=0 |
Kurt B. Kaiser | 54d1a3b | 2004-04-21 20:06:26 +0000 | [diff] [blame] | 83 | numlines=3 |
Kurt B. Kaiser | 4d5bc60 | 2004-06-06 01:29:22 +0000 | [diff] [blame] | 84 | visible=0 |
Kurt B. Kaiser | 54d1a3b | 2004-04-21 20:06:26 +0000 | [diff] [blame] | 85 | bgcolor=LightGray |
| 86 | fgcolor=Black |
Kurt B. Kaiser | d00587a | 2004-04-24 03:08:13 +0000 | [diff] [blame] | 87 | [CodeContext_bindings] |
| 88 | toggle-code-context= |