config-extensions.def 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. # config-extensions.def
  2. #
  3. # The following sections are for features that are no longer extensions.
  4. # Their options values are left here for back-compatibility.
  5. [AutoComplete]
  6. popupwait= 2000
  7. [CodeContext]
  8. maxlines= 15
  9. [FormatParagraph]
  10. max-width= 72
  11. [ParenMatch]
  12. style= expression
  13. flash-delay= 500
  14. bell= True
  15. # IDLE reads several config files to determine user preferences. This
  16. # file is the default configuration file for IDLE extensions settings.
  17. #
  18. # Each extension must have at least one section, named after the
  19. # extension module. This section must contain an 'enable' item (=True to
  20. # enable the extension, =False to disable it), it may contain
  21. # 'enable_editor' or 'enable_shell' items, to apply it only to editor ir
  22. # shell windows, and may also contain any other general configuration
  23. # items for the extension. Other True/False values will also be
  24. # recognized as boolean by the Extension Configuration dialog.
  25. #
  26. # Each extension must define at least one section named
  27. # ExtensionName_bindings or ExtensionName_cfgBindings. If present,
  28. # ExtensionName_bindings defines virtual event bindings for the
  29. # extension that are not user re-configurable. If present,
  30. # ExtensionName_cfgBindings defines virtual event bindings for the
  31. # extension that may be sensibly re-configured.
  32. #
  33. # If there are no keybindings for a menus' virtual events, include lines
  34. # like <<toggle-code-context>>=.
  35. #
  36. # Currently it is necessary to manually modify this file to change
  37. # extension key bindings and default values. To customize, create
  38. # ~/.idlerc/config-extensions.cfg and append the appropriate customized
  39. # section(s). Those sections will override the defaults in this file.
  40. #
  41. # Note: If a keybinding is already in use when the extension is loaded,
  42. # the extension's virtual event's keybinding will be set to ''.
  43. #
  44. # See config-keys.def for notes on specifying keys and extend.txt for
  45. # information on creating IDLE extensions.
  46. # A fake extension for testing and example purposes. When enabled and
  47. # invoked, inserts or deletes z-text at beginning of every line.
  48. [ZzDummy]
  49. enable= False
  50. enable_shell = False
  51. enable_editor = True
  52. z-text= Z
  53. [ZzDummy_cfgBindings]
  54. z-in= <Control-Shift-KeyRelease-Insert>
  55. [ZzDummy_bindings]
  56. z-out= <Control-Shift-KeyRelease-Delete>