Steven M. Gava | c11ccf3 | 2001-09-24 09:43:17 +0000 | [diff] [blame] | 1 | # IDLE reads several config files to determine user preferences. This |
| 2 | # file is the default config 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 |
| 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 configuration |
| 7 | # items for the extension. Each extension may also define up to two optional |
| 8 | # sections named ExtensionName_bindings and ExtensionName_cfgBindings. If |
| 9 | # present, ExtensionName_bindings defines virtual event bindings for the |
| 10 | # extension that are not sensibly re-configurable. If present, |
| 11 | # ExtensionName_cfgBindings defines virtual event bindings for the extension |
| 12 | # that may be sensibly re-configured. |
Steven M. Gava | e28ee75 | 2002-02-11 03:45:22 +0000 | [diff] [blame] | 13 | # See config-keys.def for notes on specifying keys. |
Steven M. Gava | c11ccf3 | 2001-09-24 09:43:17 +0000 | [diff] [blame] | 14 | |
Steven M. Gava | 0cae01c | 2002-01-04 07:53:06 +0000 | [diff] [blame] | 15 | [FormatParagraph] |
| 16 | enable=1 |
Steven M. Gava | 72c3bf0 | 2002-01-19 10:41:51 +0000 | [diff] [blame] | 17 | [FormatParagraph_cfgBindings] |
| 18 | format-paragraph=<Alt-Key-q> |
Steven M. Gava | 0cae01c | 2002-01-04 07:53:06 +0000 | [diff] [blame] | 19 | |
Steven M. Gava | c11ccf3 | 2001-09-24 09:43:17 +0000 | [diff] [blame] | 20 | [AutoIndent] |
| 21 | enable=1 |
Steven M. Gava | 72c3bf0 | 2002-01-19 10:41:51 +0000 | [diff] [blame] | 22 | [AutoIndent_cfgBindings] |
| 23 | smart-backspace=<Key-BackSpace> |
| 24 | newline-and-indent=<Key-Return> <Key-KP_Enter> |
| 25 | smart-indent=<Key-Tab> |
| 26 | indent-region=<Control-Key-bracketright> |
| 27 | dedent-region=<Control-Key-bracketleft> |
| 28 | comment-region=<Alt-Key-3> |
| 29 | uncomment-region=<Alt-Key-4> |
| 30 | tabify-region=<Alt-Key-5> |
| 31 | untabify-region=<Alt-Key-6> |
| 32 | toggle-tabs=<Alt-Key-t> |
| 33 | change-indentwidth=<Alt-Key-u> |
Steven M. Gava | c11ccf3 | 2001-09-24 09:43:17 +0000 | [diff] [blame] | 34 | |
| 35 | [AutoExpand] |
| 36 | enable=1 |
Steven M. Gava | 72c3bf0 | 2002-01-19 10:41:51 +0000 | [diff] [blame] | 37 | [AutoExpand_cfgBindings] |
| 38 | expand-word=<Alt-Key-slash> |
Steven M. Gava | c11ccf3 | 2001-09-24 09:43:17 +0000 | [diff] [blame] | 39 | |
Steven M. Gava | c11ccf3 | 2001-09-24 09:43:17 +0000 | [diff] [blame] | 40 | [ZoomHeight] |
| 41 | enable=1 |
Steven M. Gava | 72c3bf0 | 2002-01-19 10:41:51 +0000 | [diff] [blame] | 42 | [ZoomHeight_cfgBindings] |
| 43 | zoom-height=<Alt-Key-F2> |
Steven M. Gava | c11ccf3 | 2001-09-24 09:43:17 +0000 | [diff] [blame] | 44 | |
| 45 | [ExecBinding] |
| 46 | enable=1 |
Steven M. Gava | 72c3bf0 | 2002-01-19 10:41:51 +0000 | [diff] [blame] | 47 | [ExecBinding_cfgBindings] |
| 48 | run-complete-script=<Key-F5> |
| 49 | stop-execution=<Key-Cancel> |
| 50 | |
| 51 | #[ScriptBinding] #currently ExecBinding has replaced ScriptBinding |
| 52 | #enable=0 |
| 53 | #[ScriptBinding_cfgBindings] |
| 54 | #run-script=<Key-F5> |
| 55 | #check-module=<Alt-Key-F5> <Meta-Key-F5> |
| 56 | #import-module=<Control-Key-F5> |
Steven M. Gava | c11ccf3 | 2001-09-24 09:43:17 +0000 | [diff] [blame] | 57 | |
| 58 | [CallTips] |
| 59 | enable=1 |
Steven M. Gava | 72c3bf0 | 2002-01-19 10:41:51 +0000 | [diff] [blame] | 60 | [CallTips_bindings] |
| 61 | paren-open=<Key-parenleft> |
| 62 | paren-close=<Key-parenright> |
| 63 | check-calltip-cancel=<KeyRelease> |
| 64 | calltip-cancel=<ButtonPress> <Key-Escape> |
Steven M. Gava | c11ccf3 | 2001-09-24 09:43:17 +0000 | [diff] [blame] | 65 | |
| 66 | [ParenMatch] |
| 67 | enable=0 |
| 68 | style= expression |
| 69 | flash-delay= 500 |
| 70 | bell= 1 |
| 71 | hilite-foreground= black |
| 72 | hilite-background= #43cd80 |
Steven M. Gava | 72c3bf0 | 2002-01-19 10:41:51 +0000 | [diff] [blame] | 73 | [ParenMatch_bindings] |
| 74 | flash-open-paren=<KeyRelease-parenright> <KeyRelease-bracketright> <KeyRelease-braceright> |
| 75 | check-restore=<KeyPress> |