jpayne@68: # IDLE reads several config files to determine user preferences. This jpayne@68: # file is the default config file for general idle settings. jpayne@68: # jpayne@68: # When IDLE starts, it will look in jpayne@68: # the following two sets of files, in order: jpayne@68: # jpayne@68: # default configuration files in idlelib jpayne@68: # -------------------------------------- jpayne@68: # config-main.def default general config file jpayne@68: # config-extensions.def default extension config file jpayne@68: # config-highlight.def default highlighting config file jpayne@68: # config-keys.def default keybinding config file jpayne@68: # jpayne@68: # user configuration files in ~/.idlerc jpayne@68: # ------------------------------------- jpayne@68: # config-main.cfg user general config file jpayne@68: # config-extensions.cfg user extension config file jpayne@68: # config-highlight.cfg user highlighting config file jpayne@68: # config-keys.cfg user keybinding config file jpayne@68: # jpayne@68: # On Windows, the default location of the home directory ('~' above) jpayne@68: # depends on the version. For Windows 10, it is C:\Users\. jpayne@68: # jpayne@68: # Any options the user saves through the config dialog will be saved to jpayne@68: # the relevant user config file. Reverting any general or extension jpayne@68: # setting to the default causes that entry to be wiped from the user jpayne@68: # file and re-read from the default file. This rule applies to each jpayne@68: # item, except that the three editor font items are saved as a group. jpayne@68: # jpayne@68: # User highlighting themes and keybinding sets must have (section) names jpayne@68: # distinct from the default names. All items are added and saved as a jpayne@68: # group. They are retained unless specifically deleted within the config jpayne@68: # dialog. Choosing one of the default themes or keysets just applies the jpayne@68: # relevant settings from the default file. jpayne@68: # jpayne@68: # Additional help sources are listed in the [HelpFiles] section below jpayne@68: # and should be viewable by a web browser (or the Windows Help viewer in jpayne@68: # the case of .chm files). These sources will be listed on the Help jpayne@68: # menu. The pattern, and two examples, are: jpayne@68: # jpayne@68: # jpayne@68: # 1 = IDLE;C:/Programs/Python36/Lib/idlelib/help.html jpayne@68: # 2 = Pillow;https://pillow.readthedocs.io/en/latest/ jpayne@68: # jpayne@68: # You can't use a semi-colon in a menu item or path. The path will be jpayne@68: # platform specific because of path separators, drive specs etc. jpayne@68: # jpayne@68: # The default files should not be edited except to add new sections to jpayne@68: # config-extensions.def for added extensions. The user files should be jpayne@68: # modified through the Settings dialog. jpayne@68: jpayne@68: [General] jpayne@68: editor-on-startup= 0 jpayne@68: autosave= 0 jpayne@68: print-command-posix=lpr %%s jpayne@68: print-command-win=start /min notepad /p %%s jpayne@68: delete-exitfunc= 1 jpayne@68: jpayne@68: [EditorWindow] jpayne@68: width= 80 jpayne@68: height= 40 jpayne@68: cursor-blink= 1 jpayne@68: font= TkFixedFont jpayne@68: # For TkFixedFont, the actual size and boldness are obtained from tk jpayne@68: # and override 10 and 0. See idlelib.config.IdleConf.GetFont jpayne@68: font-size= 10 jpayne@68: font-bold= 0 jpayne@68: encoding= none jpayne@68: line-numbers-default= 0 jpayne@68: jpayne@68: [PyShell] jpayne@68: auto-squeeze-min-lines= 50 jpayne@68: jpayne@68: [Indent] jpayne@68: use-spaces= 1 jpayne@68: num-spaces= 4 jpayne@68: jpayne@68: [Theme] jpayne@68: default= 1 jpayne@68: name= IDLE Classic jpayne@68: name2= jpayne@68: # name2 set in user config-main.cfg for themes added after 2015 Oct 1 jpayne@68: jpayne@68: [Keys] jpayne@68: default= 1 jpayne@68: name= jpayne@68: name2= jpayne@68: # name2 set in user config-main.cfg for keys added after 2016 July 1 jpayne@68: jpayne@68: [History] jpayne@68: cyclic=1 jpayne@68: jpayne@68: [HelpFiles]