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 general idle settings. |
| 3 | # |
| 4 | # When IDLE starts, it will look in |
| 5 | # the following two sets of files, in order: |
| 6 | # |
| 7 | # default configuration |
| 8 | # --------------------- |
| 9 | # config-main.def the default general config file |
| 10 | # config-extensions.def the default extension config file |
| 11 | # config-highlight.def the default highlighting config file |
| 12 | # config-keys.def the default keybinding config file |
| 13 | # |
| 14 | # user configuration |
| 15 | # ------------------- |
| 16 | # ~/.idlerc/idle-main.cfg the user general config file |
| 17 | # ~/.idlerc/idle-extensions.cfg the user extension config file |
| 18 | # ~/.idlerc/idle-highlight.cfg the user highlighting config file |
| 19 | # ~/.idlerc/idle-keys.cfg the user keybinding config file |
Steven M. Gava | c11ccf3 | 2001-09-24 09:43:17 +0000 | [diff] [blame] | 20 | # |
| 21 | # Any options the user saves through the config dialog will be saved to |
| 22 | # the relevant user config file. Reverting any general setting to the |
| 23 | # default causes that entry to be wiped from the user file and re-read |
| 24 | # from the default file. User highlighting themes or keybinding sets are |
| 25 | # retained unless specifically deleted within the config dialog. Choosing |
| 26 | # one of the default themes or keysets just applies the relevant settings |
| 27 | # from the default file. |
| 28 | |
| 29 | [General] |
Steven M. Gava | 5f28e8f | 2002-01-21 06:38:21 +0000 | [diff] [blame] | 30 | editor-on-startup= 1 |
Steven M. Gava | 7981ce5 | 2002-06-11 04:45:34 +0000 | [diff] [blame] | 31 | print-command-posix=lpr %s |
| 32 | print-command-win=start /min notepad /p %s |
Steven M. Gava | c11ccf3 | 2001-09-24 09:43:17 +0000 | [diff] [blame] | 33 | |
| 34 | [EditorWindow] |
Steven M. Gava | c11ccf3 | 2001-09-24 09:43:17 +0000 | [diff] [blame] | 35 | width= 80 |
Steven M. Gava | ad4f532 | 2002-01-03 12:05:17 +0000 | [diff] [blame] | 36 | height= 30 |
Steven M. Gava | c11ccf3 | 2001-09-24 09:43:17 +0000 | [diff] [blame] | 37 | font= courier |
| 38 | font-size= 12 |
Steven M. Gava | c112cd8 | 2002-01-22 05:56:40 +0000 | [diff] [blame] | 39 | font-bold= 0 |
Steven M. Gava | c11ccf3 | 2001-09-24 09:43:17 +0000 | [diff] [blame] | 40 | |
| 41 | [Indent] |
| 42 | use-spaces= 1 |
| 43 | num-spaces= 4 |
Steven M. Gava | c11ccf3 | 2001-09-24 09:43:17 +0000 | [diff] [blame] | 44 | |
| 45 | [Theme] |
Steven M. Gava | d0342cd | 2001-11-04 11:53:10 +0000 | [diff] [blame] | 46 | default= 1 |
Steven M. Gava | ad4f532 | 2002-01-03 12:05:17 +0000 | [diff] [blame] | 47 | name= IDLE Classic |
Steven M. Gava | c11ccf3 | 2001-09-24 09:43:17 +0000 | [diff] [blame] | 48 | |
| 49 | [Keys] |
Steven M. Gava | d0342cd | 2001-11-04 11:53:10 +0000 | [diff] [blame] | 50 | default= 1 |
Steven M. Gava | 0cae01c | 2002-01-04 07:53:06 +0000 | [diff] [blame] | 51 | name= IDLE Classic Windows |
Steven M. Gava | c11ccf3 | 2001-09-24 09:43:17 +0000 | [diff] [blame] | 52 | |
Steven M. Gava | 085eb1b | 2002-02-05 04:52:32 +0000 | [diff] [blame] | 53 | [HelpFiles] |
| 54 | #additional help sources, must be viewable by an html browser |
| 55 | #will be listed on the Help/Other Help menu |
| 56 | #option names are the sequence number of the option |
| 57 | #values take the form: menu item;/path/to/help/source |
| 58 | #obviously you can't use a semi-colon in a menu item or path and the path will |
| 59 | #be platform specific because of path separators, drive specs etc. |
| 60 | #eg.: |
| 61 | #1= My Extra Help Source;/usr/share/doc/foo/index.html |
| 62 | #2= Another Help Source;/path/to/another.html |
Steven M. Gava | c11ccf3 | 2001-09-24 09:43:17 +0000 | [diff] [blame] | 63 | |
Steven M. Gava | 085eb1b | 2002-02-05 04:52:32 +0000 | [diff] [blame] | 64 | #[RecentFiles] |
| 65 | #this section will only be present in the user config file idle-main.cfg |
| 66 | #where it will record the most recently openned files in the form |
| 67 | #IndexNum= /full/path/of/file , for display on the File/Recent Files menu |
| 68 | #it is present here for reference only |
| 69 | #eg.: |
| 70 | #1=/most/recently/openned/file |
| 71 | #2=/next/most/recently/openned/file |
| 72 | #etc. |