/Mac/IDLE/config-extensions.def

http://unladen-swallow.googlecode.com/ · Module-Definition · 88 lines · 80 code · 8 blank · 0 comment · 6 complexity · b8d270ba774a2e1ccdb8c02498a7a56f MD5 · raw file

  1. # config-extensions.def
  2. #
  3. # IDLE reads several config files to determine user preferences. This
  4. # file is the default configuration file for IDLE extensions settings.
  5. #
  6. # Each extension must have at least one section, named after the extension
  7. # module. This section must contain an 'enable' item (=1 to enable the
  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. #
  21. # Currently it is necessary to manually modify this file to change extension
  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.
  25. #
  26. # Note: If a keybinding is already in use when the extension is
  27. # loaded, the extension's virtual event's keybinding will be set to ''.
  28. #
  29. # See config-keys.def for notes on specifying keys and extend.txt for
  30. # information on creating IDLE extensions.
  31. [FormatParagraph]
  32. enable=1
  33. [FormatParagraph_cfgBindings]
  34. format-paragraph=<Option-Key-q>
  35. [AutoExpand]
  36. enable=1
  37. [AutoExpand_cfgBindings]
  38. expand-word=<Option-Key-slash>
  39. [ZoomHeight]
  40. enable=1
  41. [ZoomHeight_cfgBindings]
  42. zoom-height=<Option-Key-0>
  43. [ScriptBinding]
  44. enable=1
  45. [ScriptBinding_cfgBindings]
  46. run-module=<Key-F5>
  47. check-module=<Option-Key-x>
  48. [CallTips]
  49. enable=1
  50. [CallTips_cfgBindings]
  51. force-open-calltip=<Control-Key-backslash>
  52. [CallTips_bindings]
  53. try-open-calltip=<KeyRelease-parenleft>
  54. refresh-calltip=<KeyRelease-parenright> <KeyRelease-0>
  55. [ParenMatch]
  56. enable=1
  57. style= expression
  58. flash-delay= 500
  59. bell= 1
  60. [ParenMatch_cfgBindings]
  61. flash-paren=<Control-Key-0>
  62. [ParenMatch_bindings]
  63. paren-closed=<KeyRelease-parenright> <KeyRelease-bracketright> <KeyRelease-braceright>
  64. [AutoComplete]
  65. enable=1
  66. popupwait=2000
  67. [AutoComplete_cfgBindings]
  68. force-open-completions=<Control-Key-space>
  69. [AutoComplete_bindings]
  70. autocomplete=<Key-Tab>
  71. try-open-completions=<KeyRelease-period> <KeyRelease-slash> <KeyRelease-backslash>
  72. [CodeContext]
  73. enable=1
  74. enable_shell=0
  75. numlines=3
  76. visible=0
  77. bgcolor=LightGray
  78. fgcolor=Black
  79. [CodeContext_bindings]
  80. toggle-code-context=